diff options
author | Andres P <aepd87@gmail.com> | 2010-05-27 17:06:08 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2010-06-17 06:34:57 +0200 |
commit | 95145d4c52e5a6bb22fbb396f5d6584a7e87b75b (patch) | |
tree | cd95a77a81266951da53a255acf7b09b26ed23a4 /lib/libalpm | |
parent | 3c8816f74b75d2ffdfd4eb6825a55620220a159c (diff) | |
download | pacman-95145d4c52e5a6bb22fbb396f5d6584a7e87b75b.tar.gz pacman-95145d4c52e5a6bb22fbb396f5d6584a7e87b75b.tar.xz |
makepkg: use type -p's return value for PATH checks
Rely on type -p's return value instead of a string check.
And gettext was previously being checked with type -t, which was
inconsistent with the rest of the tests pertaining commands that aren't
expected to be functions nor builtins.
Signed-off-by: Andres P <aepd87@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm')
0 files changed, 0 insertions, 0 deletions