udeved 2017-02-20 20:22:21 +01:00
parent c89c9254a0
commit 46717354ed

View file

@ -239,9 +239,10 @@ EOF
# so no global variables
_chrootbuild() {
. /etc/profile
export HOME=/build
cd /startdir
sudo -u builduser makepkg "$@"
# export HOME=/build
# cd /startdir
# sudo -u builduser makepkg "$@"
sudo -iu builduser bash -c 'cd /startdir; makepkg "$@"' -bash "$@"
}
_chrootnamcap() {