[pacman-dev] [PATCH v2 1/2] makepkg: implement error codes

brainpower brainpower at mailbox.org
Wed Sep 20 19:50:32 UTC 2017


Am 15.09.2017 um 20:30 schrieb ivy.foster at gmail.com:
> @@ -1459,16 +1458,17 @@ unset "${!sha384sums_@}" "${!sha512sums_@}"
>  BUILDFILE=${BUILDFILE:-$BUILDSCRIPT}
>  if [[ ! -f $BUILDFILE ]]; then
>  	error "$(gettext "%s does not exist.")" "$BUILDFILE"
> -	exit 1
> +	exit $E_BUILD_FAILED=5

Small thing everyone seems to have overlooked:
This line looks wrong to me.
bash probably won't like it either. ;)


-- 
regards,
brainpower

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 866 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/pacman-dev/attachments/20170920/8bbdc8f2/attachment.asc>


More information about the pacman-dev mailing list