diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-12-21 13:04:18 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-12-21 13:04:18 +0100 |
commit | 7f87000741f4061aeb28c10105beb751eb9ee639 (patch) | |
tree | c94976669d7ed66a64fd85f4c3665a4266cfd293 /scripts/scan-tools.sh | |
parent | 7cc1307c17dd9dfc907580b7b3320554848a10de (diff) | |
parent | 33f92f3466c9959e73e01f50861495162f681164 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'scripts/scan-tools.sh')
-rw-r--r-- | scripts/scan-tools.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/scan-tools.sh b/scripts/scan-tools.sh index ef6d7babb..70547394e 100644 --- a/scripts/scan-tools.sh +++ b/scripts/scan-tools.sh @@ -5,10 +5,10 @@ shopt -s extglob topdir=$(pwd) opath=$PATH out=0 -if [ -z $(which gmake) ];then - makecmd=$(which make) +if [ -z $(which gmake 2>/dev/null ) ];then + makecmd=$(which make 2>/dev/null ) else - makecmd=$(which gmake) + makecmd=$(which gmake 2>/dev/null ) fi if [[ $NO_ERROR != @(0|1) ]]; then |