Ahh, the time-honored practice of debugging via print statements.
This commit is contained in:
@@ -223,7 +223,6 @@ static void ChangeToDirOfExecutable( const RString &argv0 )
|
|||||||
#elif defined(MACOSX)
|
#elif defined(MACOSX)
|
||||||
/* If the basename is not MacOS, then we've likely been launched via the command line
|
/* 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. */
|
* through a symlink. Assume this is the case and change to the dir of the symlink. */
|
||||||
puts( RageFileManagerUtil::sDirOfExecutable );
|
|
||||||
if( Basename(RageFileManagerUtil::sDirOfExecutable) == "MacOS" )
|
if( Basename(RageFileManagerUtil::sDirOfExecutable) == "MacOS" )
|
||||||
CollapsePath( RageFileManagerUtil::sDirOfExecutable += "/../../.." );
|
CollapsePath( RageFileManagerUtil::sDirOfExecutable += "/../../.." );
|
||||||
chdir( RageFileManagerUtil::sDirOfExecutable );
|
chdir( RageFileManagerUtil::sDirOfExecutable );
|
||||||
|
|||||||
Reference in New Issue
Block a user