From c441f00d357660aa2abecbaa27990ac5b636c0cf Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Mon, 31 Jul 2000 21:49:17 +0000 Subject: Ah, screw the which. svn path=/trunk/; revision=4437 --- tools/verify-evolution-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/verify-evolution-install.sh b/tools/verify-evolution-install.sh index 0c1cf8697c..7bfcb1cb5b 100755 --- a/tools/verify-evolution-install.sh +++ b/tools/verify-evolution-install.sh @@ -45,7 +45,7 @@ check_config() { eval $1=\${$1-$2} eval val=\$$1 - if which $val /dev/null 2>&1 ; then + if type $val /dev/null 2>&1 ; then : else problem="Cannot find $2 or it ($val) is not executable" @@ -406,7 +406,7 @@ versionparse3 "`$OAF_CONFIG --version`" "0.4.0" "oaf" check_bin oafd OAF_CLIENT=${OAF_CLIENT-oaf-client} -if which $OAF_CLIENT /dev/null 2>&1 ; then +if type $OAF_CLIENT /dev/null 2>&1 ; then : else problem="oaf-client couldn't be found" -- cgit v1.2.3