Skip to content
Permalink
Browse files

merge r10134 from trunk

git-svn-id: http://svn.osgeo.org/qgis/branches/Version-1_0@10135 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Feb 8, 2009
1 parent 43882fa commit 126bb0875f80a33bd598ab0dfd2dd6bdeaf052d4
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/providers/grass/qgsgrass.cpp
@@ -89,7 +89,12 @@ void GRASS_EXPORT QgsGrass::init( void )
// This is set when QGIS is run from within GRASS
// or when set explicitly by the user.
// This value should always take precedence.
#if WIN32
QString gisBase = getenv( "WINGISBASE" ) ? getenv("WINGISBASE") : getenv("GISBASE");
gisBase = getShortPath( gisBase );
#else
QString gisBase = getenv( "GISBASE" );
#endif
#ifdef QGISDEBUG
qDebug( "%s:%d GRASS gisBase from GISBASE env var is: %s", __FILE__, __LINE__, gisBase.toAscii().constData() );
#endif

0 comments on commit 126bb08

Please sign in to comment.
You can’t perform that action at this time.