[GRASS-SVN] r38224 - grass-addons/general/g.extension.add
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Jul 5 06:16:42 EDT 2009
Author: neteler
Date: 2009-07-05 06:16:42 -0400 (Sun, 05 Jul 2009)
New Revision: 38224
Modified:
grass-addons/general/g.extension.add/g.extension.add
Log:
cleanup 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:08:45 UTC (rev 38223)
+++ grass-addons/general/g.extension.add/g.extension.add 2009-07-05 10:16:42 UTC (rev 38224)
@@ -108,8 +108,10 @@
# can we write?
touch ${GISBASE}/`basename $0`.$$
if [ $? -ne 0 ] ; then
+ rm -f ${GISBASE}/`basename $0`.$$
sudo make MODULE_TOPDIR=${GISBASE} install
else
+ rm -f ${GISBASE}/`basename $0`.$$
make MODULE_TOPDIR=${GISBASE} install
fi
if [ $? -ne 0 ] ; then
More information about the grass-commit
mailing list