index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | makechrootpkg.in | 4 |
diff --git a/makechrootpkg.in b/makechrootpkg.in index cd9efce..284d444 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -199,9 +199,7 @@ EOF # so no global variables _chrootbuild() { . /etc/profile - export HOME=/build - cd /startdir - sudo -u builduser makepkg "$@" + sudo -iu builduser bash -c 'cd /startdir; makepkg "$@"' -bash "$@" } _chrootnamcap() { |