Explorar o código

Fix sense of directory test

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@32431 15284696-431f-4ddb-bdfa-cd5b030d7da7
Glynn Clements %!s(int64=17) %!d(string=hai) anos
pai
achega
9333cfd180
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tools/grass_indent_ALL.sh

+ 1 - 1
tools/grass_indent_ALL.sh

@@ -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