remove tar --overwrite switch as it is default and does not work on osx

This commit is contained in:
Krzysztof Wicher 2016-03-14 14:04:51 -07:00
parent 11f4dd94b9
commit 9360128c13

View file

@ -397,7 +397,7 @@ extract_and_override_zip() {
local out_path=$2
local failed=false
tar -xzf "$zip_path" -C "$out_path" --overwrite > /dev/null || failed=true
tar -xzf "$zip_path" -C "$out_path" > /dev/null || failed=true
if [ "$failed" == true ]; then
say_err "Extraction failed"
return 1