Skip to content

Commit

Permalink
pass -o option to unzip to force over-write of existing files
Browse files Browse the repository at this point in the history
  • Loading branch information
samoconnor committed May 2, 2016
1 parent 48dec9f commit 4c70fbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/info_zip.jl
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ typealias FileOrBytes Union{AbstractString,Vector{UInt8}}

function unzip(archive::FileOrBytes, outputpath::AbstractString=pwd())
open_zip(archive) do z
run(Cmd(`unzip -q $(z.filename)`, dir = outputpath))
run(Cmd(`unzip -qo $(z.filename)`, dir = outputpath))
end
end

Expand Down

0 comments on commit 4c70fbc

Please sign in to comment.