summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-05-10 22:40:16 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-05-11 01:59:48 -0400
commit7d74f7ccef61ccb120e920287f6929c12c48d895 (patch)
treeab9a28035bfd1b195bfac4c17fb379aa103da257 /src
parent7233318d44860fb3e2e4596a3352b4c9d783a1da (diff)
mkarchroot: creating chroots wasn't working.
I later noticed that alfplayer filed a bug report about it: https://labs.parabola.nu/issues/518
Diffstat (limited to 'src')
-rw-r--r--src/chroot-tools/mkarchroot.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chroot-tools/mkarchroot.patch b/src/chroot-tools/mkarchroot.patch
index d6f83f1..9366d92 100644
--- a/src/chroot-tools/mkarchroot.patch
+++ b/src/chroot-tools/mkarchroot.patch
@@ -14,7 +14,7 @@
+_env=()
+while read -r varname; do
+ _env+=("$varname=${!varname}")
-+done < { declare -x | sed -r 's/^declare -x ([^=]*)=.*/\1/' | grep -i '_proxy$'; }
++done < <(declare -x | sed -r 's/^declare -x ([^=]*)=.*/\1/' | grep -i '_proxy$')
+env -i "${_env[@]}" \
pacstrap -GMcd ${pac_conf:+-C "$pac_conf"} "$working_dir" \
"${cache_dirs[@]/#/--cachedir=}" "$@" || die 'Failed to install all packages'