Commit fbdcf6e3 authored by Pierre Schmitz's avatar Pierre Schmitz
Browse files

makechrootpkg: Do not export LANG

This is done by /etc/profile.d/locale.sh. By this we also ensure compatibility with systemd.
parent 01f5cdf3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -261,7 +261,7 @@ EOF
chmod 440 "$copydir/etc/sudoers.d/nobody-pacman"

# Set this system wide as makepkg will source /etc/profile before calling build()
echo 'export LANG=C' > "$copydir/etc/locale.conf"
echo 'LANG=C' > "$copydir/etc/locale.conf"

# This is a little gross, but this way the script is recreated every time in the
# working copy