Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2017-10-23 22:02:01 -0400
committerLuke Shumaker <lukeshu@parabola.nu>2018-01-02 12:36:56 -0500
commitee1309e88370340802ec612080efc24e48bd5063 (patch)
tree2d1e268dae68343913ca524c6fe0e2dcb6adbf88
parent747a35ebe5fe008965735e3550204ac27b28fcda (diff)
arch-nspawn: Remove pointless $(echo ...) subshell
-rw-r--r--arch-nspawn.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch-nspawn.in b/arch-nspawn.in
index 3949ee1..7a7a274 100644
--- a/arch-nspawn.in
+++ b/arch-nspawn.in
@@ -91,7 +91,7 @@ copy_hostconf () {
cp -T "$file" "$working_dir$file"
done
- sed -r "s|^#?\\s*CacheDir.+|CacheDir = $(echo -n "${cache_dirs[@]}")|g" -i "$working_dir/etc/pacman.conf"
+ sed -r "s|^#?\\s*CacheDir.+|CacheDir = ${cache_dirs[*]}|g" -i "$working_dir/etc/pacman.conf"
}
# }}}