From 8bc650fbafe9851639df9dca4916937bea30163d Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Fri, 20 Apr 2007 08:02:53 +0000 Subject: [PATCH] CollapsePath thinks that .. is a file name. Add a slash to convince it otherwise. --- stepmania/src/RageFileManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/RageFileManager.cpp b/stepmania/src/RageFileManager.cpp index 9ad228b830..85f1499376 100644 --- a/stepmania/src/RageFileManager.cpp +++ b/stepmania/src/RageFileManager.cpp @@ -254,7 +254,7 @@ static void ChangeToDirOfExecutable( const RString &argv0 ) /* If the basename is not MacOS, then we've likely been launched via the command line * through a symlink. Assume this is the case and change to the dir of the symlink. */ if( Basename(RageFileManagerUtil::sDirOfExecutable) == "MacOS" ) - CollapsePath( RageFileManagerUtil::sDirOfExecutable += "/../../.." ); + CollapsePath( RageFileManagerUtil::sDirOfExecutable += "/../../../" ); chdir( RageFileManagerUtil::sDirOfExecutable ); #endif }