[GRASS-SVN] r38947 -
grass/branches/develbranch_6/scripts/g.extension
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Sep 2 10:08:14 EDT 2009
Author: hamish
Date: 2009-09-02 10:08:14 -0400 (Wed, 02 Sep 2009)
New Revision: 38947
Modified:
grass/branches/develbranch_6/scripts/g.extension/g.extension
Log:
exit on error
Modified: grass/branches/develbranch_6/scripts/g.extension/g.extension
===================================================================
--- grass/branches/develbranch_6/scripts/g.extension/g.extension 2009-09-02 14:05:51 UTC (rev 38946)
+++ grass/branches/develbranch_6/scripts/g.extension/g.extension 2009-09-02 14:08:14 UTC (rev 38947)
@@ -259,6 +259,8 @@
fi
if [ ! -x "${MYINST_DIR}/bin/${MODULE}" ] ; then
g.message -e "Module did not install properly"
+ cleanup
+ exit 1
fi
if [ $GIS_FLAG_A -eq 1 ] ; then
\mv ${MYINST_DIR}/bin/${MODULE} ${MYINST_DIR}/
More information about the grass-commit
mailing list