Skip to content

Commit e7ab371

Browse files
committed
Propagate the verbose flag to the pkgutil call when installing in non-standard macOS location
1 parent 942c4e4 commit e7ab371

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/MacOSPlatform/MacOS.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public struct MacOS: Platform {
7070
if !toolchainDir.fileExists() {
7171
try FileManager.default.createDirectory(at: toolchainDir, withIntermediateDirectories: false)
7272
}
73-
try runProgram("pkgutil", "--verbose", "--expand", tmpFile.path, tmpDir.path)
73+
try runProgram("pkgutil", "--verbose", "--expand", tmpFile.path, tmpDir.path, quiet: !verbose)
7474
// There's a slight difference in the location of the special Payload file between official swift packages
7575
// and the ones that are mocked here in the test framework.
7676
var payload = tmpDir.appendingPathComponent("Payload")

0 commit comments

Comments
 (0)