Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
find bundled GRASS on OS X
  • Loading branch information
kyngchaos committed Aug 8, 2015
1 parent d110452 commit a3c239f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/plugins/grass/qgsgrassmodule.cpp
Expand Up @@ -70,6 +70,10 @@ QString QgsGrassModule::findExec( QString file )
#ifdef WIN32
mExecPath = path.split( ";" );
mExecPath.prepend( QgsGrass::shortPath( QgsApplication::applicationDirPath() ) );
#elif defined(Q_OS_MACX)
mExecPath = path.split( ":" );
mExecPath.prepend( QgsApplication::applicationDirPath() + "/bin");
mExecPath.prepend( QgsApplication::applicationDirPath() + "/grass/bin");
#else
mExecPath = path.split( ":" );
mExecPath.prepend( QgsApplication::applicationDirPath() );
Expand Down

0 comments on commit a3c239f

Please sign in to comment.