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 9acc475 commit b426162
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/plugins/grass/qgsgrassmodule.cpp
Expand Up @@ -63,6 +63,10 @@ QString QgsGrassModule::findExec( QString file )
#ifdef Q_OS_WIN
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 b426162

Please sign in to comment.