[GRASS-SVN] r38223 - grass-addons/general/g.extension.add
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Jul 5 06:08:45 EDT 2009
Author: neteler
Date: 2009-07-05 06:08:45 -0400 (Sun, 05 Jul 2009)
New Revision: 38223
Modified:
grass-addons/general/g.extension.add/g.extension.add
Log:
fix touch test
Modified: grass-addons/general/g.extension.add/g.extension.add
===================================================================
--- grass-addons/general/g.extension.add/g.extension.add 2009-07-05 10:02:50 UTC (rev 38222)
+++ grass-addons/general/g.extension.add/g.extension.add 2009-07-05 10:08:45 UTC (rev 38223)
@@ -106,7 +106,7 @@
else
g.message message="Installing ${MODULE}..."
# can we write?
- touch ${GISBASE}/$0.$$
+ touch ${GISBASE}/`basename $0`.$$
if [ $? -ne 0 ] ; then
sudo make MODULE_TOPDIR=${GISBASE} install
else
More information about the grass-commit
mailing list