Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -264,6 +264,7 @@ echo 'LANG=C' > "$copydir/etc/locale.conf" ...@@ -264,6 +264,7 @@ echo 'LANG=C' > "$copydir/etc/locale.conf"
# working copy # working copy
cat >"$copydir/chrootbuild" <<EOF cat >"$copydir/chrootbuild" <<EOF
#!/bin/bash #!/bin/bash
. /etc/profile
export LANG=C export LANG=C
export HOME=/build export HOME=/build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment