index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Eli Schwartz via arch-projects <arch-projects@archlinux.org> | 2018-05-29 17:23:10 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@parabola.nu> | 2018-08-03 12:27:55 -0400 |
commit | b4c286862a202e1b92aa9382b7e986d7511373ad (patch) | |
tree | b38f7fb8151df473389f97de71c8d2b0f070b46d /makechrootpkg.in | |
parent | b1773440be67eb9a5ac157c64d2d357bb1163f53 (diff) |
-rw-r--r-- | makechrootpkg.in | 7 |
diff --git a/makechrootpkg.in b/makechrootpkg.in index 183e688..0b4184b 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -254,6 +254,13 @@ _chrootbuild() { # https://bugzilla.sudo.ws/show_bug.cgi?id=765 sudo --preserve-env=SOURCE_DATE_EPOCH -iu builduser bash -c 'cd /startdir; SRCEXT="${1}" makepkg "${@:2}" --allsource' -bash "$srcext" "$@" || return sudo --preserve-env=SOURCE_DATE_EPOCH -iu builduser bash -c 'cd /startdir; makepkg "$@"' -bash "$@" + ret=$? + case $ret in + 0|14) + return 0;; + *) + return $ret;; + esac } _chrootnamcap() { |