From c58c1d4555c199939496713f231e45598b4d8ba7 Mon Sep 17 00:00:00 2001 From: "U-windows7\\wbx" Date: Sat, 19 Dec 2009 20:39:01 +0100 Subject: cygwin support refresh --- scripts/scan-tools.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts') 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 -- cgit v1.2.3