aboutsummaryrefslogtreecommitdiffstats
path: root/tools/verify-evolution-install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/verify-evolution-install.sh')
-rwxr-xr-xtools/verify-evolution-install.sh4
1 files changed, 2 insertions, 2 deletions
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 1>/dev/null 2>&1 ; then
+ if type $val </dev/null 1>/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 >/dev/null 2>&1 ; then
+if type $OAF_CLIENT </dev/null >/dev/null 2>&1 ; then
:
else
problem="oaf-client couldn't be found"