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 <[email protected]>
---
 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
 
-- 
1.7.7.4

Reply via email to