Ahh, the time-honored practice of debugging via print statements.

This commit is contained in:
Steve Checkoway
2006-08-14 15:53:11 +00:00
parent 725fd2b6bc
commit 9ee66decab
-1
View File
@@ -223,7 +223,6 @@ static void ChangeToDirOfExecutable( const RString &argv0 )
#elif defined(MACOSX)
/* 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. */
puts( RageFileManagerUtil::sDirOfExecutable );
if( Basename(RageFileManagerUtil::sDirOfExecutable) == "MacOS" )
CollapsePath( RageFileManagerUtil::sDirOfExecutable += "/../../.." );
chdir( RageFileManagerUtil::sDirOfExecutable );