Skip to content
Permalink
Browse files
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 2326ff63ce674e990531f97d391891a2f7378d18
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/plugins/grass/qgsgrassmodule.cpp
@@ -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;
}

0 comments on commit 2326ff6

Please sign in to comment.