diff options
author | Luke Shumaker <lukeshu@parabola.nu> | 2017-10-23 22:02:01 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@parabola.nu> | 2018-01-02 12:36:56 -0500 |
commit | ee1309e88370340802ec612080efc24e48bd5063 (patch) | |
tree | 2d1e268dae68343913ca524c6fe0e2dcb6adbf88 /arch-nspawn.in | |
parent | 747a35ebe5fe008965735e3550204ac27b28fcda (diff) | |
download | devtools32-ee1309e88370340802ec612080efc24e48bd5063.tar.xz |
arch-nspawn: Remove pointless $(echo ...) subshell
Diffstat (limited to 'arch-nspawn.in')
-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 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" } # }}} |