arch-nspawn: Remove pointless $(echo ...) subshell

This commit is contained in:
Luke Shumaker 2018-01-15 17:57:00 +01:00 committed by Bartłomiej Piotrowski
parent c9e287e845
commit 5ab8f8430a
1 changed files with 1 additions and 1 deletions

View File

@ -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"
}
# }}}