[GRASS-SVN] r32431 - grass/trunk/tools

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jul 31 17:03:16 EDT 2008


Author: glynn
Date: 2008-07-31 17:03:16 -0400 (Thu, 31 Jul 2008)
New Revision: 32431

Modified:
   grass/trunk/tools/grass_indent_ALL.sh
Log:
Fix sense of directory test


Modified: grass/trunk/tools/grass_indent_ALL.sh
===================================================================
--- grass/trunk/tools/grass_indent_ALL.sh	2008-07-31 20:34:01 UTC (rev 32430)
+++ grass/trunk/tools/grass_indent_ALL.sh	2008-07-31 21:03:16 UTC (rev 32431)
@@ -4,7 +4,7 @@
 # loops over entire GRASS source code tree and indents source code according to SUBMITTING rules
 
 #are we in the tools/ dir? We should not.
-if [ -d tools ] ; then
+if [ ! -d tools ] ; then
  echo "ERROR: this script must be run from the main GRASS source code directory" >&2
  exit 1
 fi



More information about the grass-commit mailing list