diff options
author | Allan McRae <allan@archlinux.org> | 2011-12-03 16:26:42 +1000 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-12-04 18:04:47 +0100 |
commit | 58d0ccc4f85c428e90f416a80359f6c0a3f91e47 (patch) | |
tree | a288399dba7ebe36468b24be6abfe7c43d57e4bb | |
parent | bfd2862bc45179c7e1ae8da489ca864900bda74c (diff) | |
download | devtools-58d0ccc4f85c428e90f416a80359f6c0a3f91e47.tar.xz |
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: Allan McRae <allan@archlinux.org>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-rw-r--r-- | makechrootpkg.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/makechrootpkg.in b/makechrootpkg.in index 8a4b143..c5d57e5 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -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 |