workaround locale errors

This commit is contained in:
Bernhard Landauer 2017-09-04 04:52:45 +02:00
parent d902379ade
commit 369cb4b3e5

View file

@ -222,6 +222,7 @@ EOF
# These functions aren't run in makechrootpkg,
# so no global variables
_chrootbuild() {
export LC_ALL=C
. /etc/profile
sudo -iu builduser bash -c 'cd /startdir; makepkg "$@"' -bash "$@"
}