From 7d7457288734730dbb0cea3b1918c004f06db1a5 Mon Sep 17 00:00:00 2001 From: Andrew Fyfe Date: Mon, 2 Jul 2007 18:28:39 +0100 Subject: 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 --- scripts/makepkg.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/makepkg.sh.in') 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" -- cgit v1.2.3-24-g4f1b