Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
split path by ':' on Unix
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5416 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed May 4, 2006
1 parent 741f713 commit 2326ff6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/plugins/grass/qgsgrassmodule.cpp
Expand Up @@ -112,7 +112,11 @@ QString QgsGrassModule::findExec ( QString file )
QString path = getenv("PATH");
std::cerr << "path = " << path.ascii() << std::endl;

#ifdef WIN32
mExecPath = path.split ( ";" );
#else
mExecPath = path.split ( ":" );
#endif
mExecPath.prepend ( QgsApplication::applicationDirPath() );
mExecPathInited = true;
}
Expand Down

0 comments on commit 2326ff6

Please sign in to comment.