diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-09-26 22:16:59 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-09-26 22:16:59 +0200 |
commit | d3b0b18ff4ddb0adc10448819d35ab6440c63e5c (patch) | |
tree | d884d60171041f4e55f1f858e2a2251033a0638b /scripts/scan-tools.sh | |
parent | a5e06a0c3562611907f21b7b8bb0c41fbd1e394a (diff) |
fix syntax error
Diffstat (limited to 'scripts/scan-tools.sh')
-rw-r--r-- | scripts/scan-tools.sh | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/scripts/scan-tools.sh b/scripts/scan-tools.sh index 2569d859b..93cd1dd70 100644 --- a/scripts/scan-tools.sh +++ b/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 |