index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2008-07-25 07:12:04 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-07-25 07:12:04 -0500 |
commit | 3bf9448943dc0bd9ae6deadb8a772130926b2058 (patch) | |
tree | 69f2e63e42c82adc231dccc355d9b980f104f65f /pactest/vercmptest.sh | |
parent | cf25884e992e9c0dd6e4bf2f7cd4bb3252578bf6 (diff) |
-rwxr-xr-x | pactest/vercmptest.sh | 2 |
diff --git a/pactest/vercmptest.sh b/pactest/vercmptest.sh index e36bf4be..fca06578 100755 --- a/pactest/vercmptest.sh +++ b/pactest/vercmptest.sh @@ -62,7 +62,7 @@ runtest() { # use first arg as our binary if specified [ -n "$1" ] && bin="$1" -if [ ! -x "$bin" ]; then +if [ ! $(type -p "$bin") ]; then echo "vercmp binary ($bin) could not be located" exit 1 fi |