remove tar --overwrite switch as it is default and does not work on osx
This commit is contained in:
parent
11f4dd94b9
commit
9360128c13
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue