Skip to content

Commit 510ae2e

Browse files
committed
Sadly, tar on macOS doesn’t support this option
1 parent 1775a9e commit 510ae2e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Sources/unidoc-publish/Main.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,10 @@ extension AWS.S3.Client
5959
print("Compressing \(name)...")
6060

6161
try SystemProcess.init(command: "tar",
62-
"--use-compress-program='gzip -9'",
62+
// Sadly, tar on macOS doesn’t support this option.
63+
// "--use-compress-program='gzip -9'",
6364
"-C", "\(release)",
64-
"-cf", "\(archive)",
65+
"-czf", "\(archive)",
6566
name)()
6667
let file:[UInt8] = try archive.read()
6768

0 commit comments

Comments
 (0)