We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5daa42a commit f6d4064Copy full SHA for f6d4064
Sources/Basics/Archiver/ZipArchiver.swift
@@ -86,6 +86,8 @@ public struct ZipArchiver: Archiver, Cancellable {
86
workingDirectory: directory.parentDirectory
87
)
88
#elseif os(FreeBSD)
89
+ // On FreeBSD, the unzip command is available in base but not the zip command.
90
+ // Therefore; we use libarchive(bsdtar) to produce the ZIP archive instead.
91
let process = AsyncProcess(
92
arguments: ["tar", "-c", "--format", "zip", "-f", destinationPath.pathString, directory.basename],
93
0 commit comments