Temp. fix until Glenn finishes whatever he had in mind for linux in RageFileManager.
This commit is contained in:
@@ -124,9 +124,16 @@ static void ChangeToDirOfExecutable(const char *argv0)
|
||||
#if defined(_WIN32)
|
||||
chdir( DirOfExecutable + "/.." );
|
||||
#elif defined(LINUX)
|
||||
/* XXX Don't do this yet since it breaks SM because RageFileManager only
|
||||
* mounts the cwd for linux at the moment.
|
||||
*/
|
||||
#if 0
|
||||
const char *home = getenv("HOME");
|
||||
if( home )
|
||||
chdir( home );
|
||||
#else
|
||||
chdir(DirOfExecutable);
|
||||
#endif
|
||||
#elif defined(DARWIN)
|
||||
chdir(DirOfExecutable + "/../../..");
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user