summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2019-01-10 06:58:44 +0100
committerAllan McRae <allan@archlinux.org>2019-01-10 08:07:23 +0100
commitce040514c4ed79f3053a104242cde90af471041a (patch)
tree079ab75a6577758179c646da4d320bd868541eac /scripts
parent5d2f7ee6c376e59ccbd8b6f9a5355cac358f0e84 (diff)
downloadpacman-ce040514c4ed79f3053a104242cde90af471041a.tar.gz
pacman-ce040514c4ed79f3053a104242cde90af471041a.tar.xz
makepkg: return E_PKGBUILD_ERROR for nonexistent PKGBUILD
This is not really an error with a "user function". Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/makepkg.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 39ccd608..c81dc801 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -1222,7 +1222,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