[GRASS-SVN] r64838 - grass/trunk/lib/init
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Mar 12 06:12:54 PDT 2015
Author: lucadelu
Date: 2015-03-12 06:12:54 -0700 (Thu, 12 Mar 2015)
New Revision: 64838
Modified:
grass/trunk/lib/init/grass.py
Log:
grass.py: 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 09:36:23 UTC (rev 64837)
+++ grass/trunk/lib/init/grass.py 2015-03-12 13:12:54 UTC (rev 64838)
@@ -1190,6 +1190,8 @@
def print_params():
plat = gfile(gisbase, 'include', 'Make', 'Platform.make')
+ if os.path.exists(plat):
+ fatal(_("Please install GRASS development package"))
fileplat = open(plat)
linesplat = fileplat.readlines()
fileplat.close()
More information about the grass-commit
mailing list