index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> | 2016-10-08 14:41:12 +0200 |
---|---|---|
committer | Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> | 2016-10-08 14:44:31 +0200 |
commit | 76dec8507e2e767db07f967644ed8958f85cd5a2 (patch) | |
tree | ac6ee9745560d9bdd10f2b4030385f7a1217c07b | |
parent | 9727b684e60c56775ef071be3707059b1d1518e1 (diff) |
-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() { |