Skip to content
Permalink
Browse files
split path by ':' on Unix
git-svn-id: http://svn.osgeo.org/qgis/trunk@5416 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed May 4, 2006
1 parent fd92f81 commit ef53c2ff76da6ee5427064d9ed8a58922913b1f8
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 ef53c2f

Please sign in to comment.