From 5ab8f8430a2c865656cd800c03ac21cb17a86d3c Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 15 Jan 2018 17:57:00 +0100 Subject: arch-nspawn: Remove pointless $(echo ...) subshell --- arch-nspawn.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" } # }}} -- cgit v1.2.3-70-g09d2