Commit 58d0ccc4 authored by Allan McRae's avatar Allan McRae Committed by Pierre Schmitz
Browse files

makearchroot: source /etc/profile before building



This ensures the PATH used when building is the default path and
not the value set by the user calling makechrootpkg.

Signed-off-by: default avatarAllan McRae <allan@archlinux.org>
Signed-off-by: default avatarPierre Schmitz <pierre@archlinux.de>
parent bfd2862b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -264,6 +264,7 @@ echo 'LANG=C' > "$copydir/etc/locale.conf"
# working copy
cat >"$copydir/chrootbuild" <<EOF
#!/bin/bash
. /etc/profile
export LANG=C
export HOME=/build