[GRASS-SVN] r37237 - grass/branches/develbranch_6/lib/init

svn_grass at osgeo.org svn_grass at osgeo.org
Thu May 14 22:55:11 EDT 2009


Author: hamish
Date: 2009-05-14 22:55:11 -0400 (Thu, 14 May 2009)
New Revision: 37237

Modified:
   grass/branches/develbranch_6/lib/init/grass-run.src
Log:
pause before exit in debug mode

Modified: grass/branches/develbranch_6/lib/init/grass-run.src
===================================================================
--- grass/branches/develbranch_6/lib/init/grass-run.src	2009-05-14 20:41:35 UTC (rev 37236)
+++ grass/branches/develbranch_6/lib/init/grass-run.src	2009-05-15 02:55:11 UTC (rev 37237)
@@ -33,6 +33,10 @@
    echo
    echo "ERROR: $1 exited abnormally. Press <enter> to continue."
    read
+elif [ `g.gisenv get=DEBUG` -gt 0 ] ; then
+   echo
+   echo "\"$1\" exited normally. Press <enter> to continue."
+   read
 fi
 
 exit $EXIT_VAL



More information about the grass-commit mailing list