[arch-projects] [devtools] [PATCH] 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
On Sat, Dec 03, 2011 at 04:26:42PM +1000, Allan McRae wrote:
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
--- makechrootpkg.in | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
Agreed. If we ever feel the need to set "$PATH" inside the chroot, we
can always add another environment variable for that.
Signed-off-by: Lukas Fleischer
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" <
-- 1.7.7.4
participants (2)
-
Allan McRae
-
Lukas Fleischer