mirror of
https://github.com/munki/munki.git
synced 2025-12-17 20:44:14 -06:00
Custom environment should be set if present (#1292)
This commit is contained in:
@@ -211,7 +211,7 @@ func runCLI(_ tool: String,
|
|||||||
let task = Process()
|
let task = Process()
|
||||||
task.executableURL = URL(fileURLWithPath: tool)
|
task.executableURL = URL(fileURLWithPath: tool)
|
||||||
task.arguments = arguments
|
task.arguments = arguments
|
||||||
if !environment.isEmpty == false {
|
if !environment.isEmpty {
|
||||||
task.environment = environment
|
task.environment = environment
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user