diff options
author | U-windows7\wbx <wbx@windows7.(none)> | 2009-12-19 20:39:01 +0100 |
---|---|---|
committer | U-windows7\wbx <wbx@windows7.(none)> | 2009-12-19 20:39:01 +0100 |
commit | c58c1d4555c199939496713f231e45598b4d8ba7 (patch) | |
tree | 8133d7e70c093312d50e07c68af63a6b10e3a1e9 /scripts/scan-tools.sh | |
parent | d6351c4a4cbc08c4e919ea55750a0efe02f2b743 (diff) |
cygwin support refresh
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 |