diff options
author | Peter Williams <peterw@src.gnome.org> | 2000-08-01 05:49:17 +0800 |
---|---|---|
committer | Peter Williams <peterw@src.gnome.org> | 2000-08-01 05:49:17 +0800 |
commit | c441f00d357660aa2abecbaa27990ac5b636c0cf (patch) | |
tree | 350d88a9bc8d98bf77d1732daa886183d168d156 | |
parent | 35210db8f42be3005e13e7ee03142c5f2c1af823 (diff) | |
download | gsoc2013-evolution-c441f00d357660aa2abecbaa27990ac5b636c0cf.tar gsoc2013-evolution-c441f00d357660aa2abecbaa27990ac5b636c0cf.tar.gz gsoc2013-evolution-c441f00d357660aa2abecbaa27990ac5b636c0cf.tar.bz2 gsoc2013-evolution-c441f00d357660aa2abecbaa27990ac5b636c0cf.tar.lz gsoc2013-evolution-c441f00d357660aa2abecbaa27990ac5b636c0cf.tar.xz gsoc2013-evolution-c441f00d357660aa2abecbaa27990ac5b636c0cf.tar.zst gsoc2013-evolution-c441f00d357660aa2abecbaa27990ac5b636c0cf.zip |
Ah, screw the which.
svn path=/trunk/; revision=4437
-rwxr-xr-x | tools/verify-evolution-install.sh | 4 |
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" |