Remove copy logging; unquote override_switch

The copy logging is no longer needed (cf. 191ffece6)

The quotes around the override switch caused cp to see "" as a target
This commit is contained in:
David Ben Knoble 2017-10-04 12:06:29 -04:00
parent 191ffece69
commit 0ee5b46cd7

View file

@ -544,8 +544,7 @@ copy_files_or_dirs_from_list() {
local target="$out_path"/"$path"
if [ "$override" = true ] || (! ([ -d "$target" ] || [ -e "$target" ])); then
mkdir -p "$out_path"/"$(dirname "$path")"
say "cp -R $override_switch $root_path/$path $target"
cp -R "$override_switch" "$root_path"/"$path" "$target"
cp -R $override_switch "$root_path"/"$path" "$target"
fi
done
}