[GRASS-SVN] r64840 - grass/trunk/lib/init
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Mar 12 14:17:12 PDT 2015
Author: lucadelu
Date: 2015-03-12 14:17:12 -0700 (Thu, 12 Mar 2015)
New Revision: 64840
Modified:
grass/trunk/lib/init/grass.py
Log:
grass.py: fixed check if Platform.make exists otherwise return an error
Modified: grass/trunk/lib/init/grass.py
===================================================================
--- grass/trunk/lib/init/grass.py 2015-03-12 14:31:41 UTC (rev 64839)
+++ grass/trunk/lib/init/grass.py 2015-03-12 21:17:12 UTC (rev 64840)
@@ -1190,7 +1190,7 @@
def print_params():
plat = gfile(gisbase, 'include', 'Make', 'Platform.make')
- if os.path.exists(plat):
+ if not os.path.exists(plat):
fatal(_("Please install GRASS development package"))
fileplat = open(plat)
linesplat = fileplat.readlines()
More information about the grass-commit
mailing list