10 Jan
2019
10 Jan
'19
5:58 a.m.
This is not really an error with a "user function". Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> --- scripts/makepkg.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 72c953c9..64a62236 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -1223,7 +1223,7 @@ unset "${!sha384sums_@}" "${!sha512sums_@}" BUILDFILE=${BUILDFILE:-$BUILDSCRIPT} if [[ ! -f $BUILDFILE ]]; then error "$(gettext "%s does not exist.")" "$BUILDFILE" - exit $E_USER_FUNCTION_FAILED + exit $E_PKGBUILD_ERROR else if [[ $(<"$BUILDFILE") = *$'\r'* ]]; then -- 2.20.1