mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2024-12-23 00:36:25 +00:00
fix zip archive
This commit is contained in:
parent
b711b68433
commit
b9d7a89915
@ -65,7 +65,7 @@ func build(options buildOptions, wg *sync.WaitGroup) {
|
||||
// use zip for Windows
|
||||
case "windows":
|
||||
zipFile := strings.TrimSuffix(out, ".exe") + ".zip"
|
||||
c = exec.Command("zip", "-q", "-X", zipFile, out)
|
||||
c = exec.Command("zip", "-j", "-q", "-X", zipFile, out)
|
||||
// use bzip2 for everything else
|
||||
default:
|
||||
c = exec.Command("bzip2", out)
|
||||
|
Loading…
Reference in New Issue
Block a user