summaryrefslogtreecommitdiff
path: root/arch-nspawn.in
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2018-01-15 17:57:00 +0100
committerBartłomiej Piotrowski <bpiotrowski@archlinux.org>2018-01-21 14:16:10 +0100
commit5ab8f8430a2c865656cd800c03ac21cb17a86d3c (patch)
tree2d1e268dae68343913ca524c6fe0e2dcb6adbf88 /arch-nspawn.in
parentc9e287e845973e4c04e21fc513caaea4907e604e (diff)
downloaddevtools32-5ab8f8430a2c865656cd800c03ac21cb17a86d3c.tar.xz
arch-nspawn: Remove pointless $(echo ...) subshell
Diffstat (limited to 'arch-nspawn.in')
-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"
}
# }}}