diff options
author | Andrew Fyfe <andrew@neptune-one.net> | 2007-07-02 19:28:39 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-07-09 21:57:38 +0200 |
commit | 7d7457288734730dbb0cea3b1918c004f06db1a5 (patch) | |
tree | 1df5fbb0b522d1953fd09088e1cac1704c5f5015 /scripts | |
parent | 1480ac29e475e369fb781fe98ac5991e1a67e5e5 (diff) | |
download | pacman-7d7457288734730dbb0cea3b1918c004f06db1a5.tar.gz pacman-7d7457288734730dbb0cea3b1918c004f06db1a5.tar.xz |
Change the exit code for pacman_deptest().
Changed the exit code for missing deps from 1 to 127 because 1 is used
for other errors. makepkg breaks if pacman exits with 1 for any reason
other than a missing dep.
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/makepkg.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 30e6b711..0c659dac 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -296,7 +296,7 @@ check_deps() { pmout=$(pacman $PACMAN_OPTS -T $*) ret=$? - if [ $ret -eq 1 ]; then #unresolved deps + if [ $ret -eq 127 ]; then #unresolved deps echo "$pmout" elif [ $ret -ne 0 ]; then error "$(gettext "Pacman returned a fatal error (%i): %s")" "$ret" "$pmout" |