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-03 14:55:21 -0500
commit97214cf1095e457e393350bfd03c9481708e72d8 (patch)
tree4250f16586343951aa03132532f6e3b8cc12d364
parent8e8a5ebb72154fdc0450c74256a02fbc5da8de42 (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 7f778be..c448056 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"
}
# }}}