зеркало из https://github.com/nextcloud/desktop.git
Also escape codesign call with saving entitlements
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Родитель
d3677a583d
Коммит
f6eb3f9b79
|
@ -57,7 +57,7 @@ func recursivelyCodesign(path: String, identity: String) throws {
|
|||
}
|
||||
|
||||
func saveCodesignEntitlements(target: String, path: String) throws {
|
||||
let command = "codesign -d --entitlements \(path) --xml \(target)"
|
||||
let command = "codesign -d --entitlements \"\(path)\" --xml \"\(target)\""
|
||||
guard shell(command) == 0 else {
|
||||
throw CodeSigningError.failedToCodeSign("Failed to save entitlements for \(target).")
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче