diff options
author | Luke Shumaker <lukeshu@parabola.nu> | 2017-10-23 22:02:01 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@parabola.nu> | 2018-01-03 14:55:21 -0500 |
commit | 97214cf1095e457e393350bfd03c9481708e72d8 (patch) | |
tree | 4250f16586343951aa03132532f6e3b8cc12d364 | |
parent | 8e8a5ebb72154fdc0450c74256a02fbc5da8de42 (diff) | |
download | devtools32-97214cf1095e457e393350bfd03c9481708e72d8.tar.xz |
arch-nspawn: Remove pointless $(echo ...) subshell
-rw-r--r-- | arch-nspawn.in | 2 |
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" } # }}} |