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:
parent
191ffece69
commit
0ee5b46cd7
1 changed files with 1 additions and 2 deletions
3
scripts/obtain/dotnet-install.sh
vendored
3
scripts/obtain/dotnet-install.sh
vendored
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue