Browse Source

fix syntax error

Waldemar Brodkorb 10 years ago
parent
commit
d3b0b18ff4
1 changed files with 7 additions and 6 deletions
  1. 7 6
      scripts/scan-tools.sh

+ 7 - 6
scripts/scan-tools.sh

@@ -250,12 +250,6 @@ if ! which gxargs >/dev/null 2>&1; then
 	fi
 fi
 
-if which grep >/dev/null 2>&1; then
-	if ! grep --version 2>/dev/null|grep GNU >/dev/null;then
-		host_build_grep=1
-	fi
-fi
-
 if ! which gfind >/dev/null 2>&1; then
 	if which find >/dev/null 2>&1; then
 		if ! find --version 2>/dev/null|grep GNU >/dev/null;then
@@ -264,6 +258,13 @@ if ! which gfind >/dev/null 2>&1; then
 	fi
 fi
 
+host_build_grep=0
+if which grep >/dev/null 2>&1; then
+	if ! grep --version 2>/dev/null|grep GNU >/dev/null;then
+		host_build_grep=1
+	fi
+fi
+
 host_build_gawk=0
 if ! which gawk >/dev/null 2>&1; then
 	host_build_gawk=1