summaryrefslogtreecommitdiff
path: root/xmake/modules/private/tools/codesign.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-04-07 00:41:14 +0800
committerruki <[email protected]>2020-04-06 22:07:28 +0800
commite39f9aa0eb208e74c827bbae1bc20fba9fbb01d7 (patch)
tree0f9a359596b585481064ac3538378af1e0c152de /xmake/modules/private/tools/codesign.lua
parentd863b9657d7c93247a242a7ae9e2138916f08d7a (diff)
improve codesign config
Diffstat (limited to 'xmake/modules/private/tools/codesign.lua')
-rw-r--r--xmake/modules/private/tools/codesign.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/tools/codesign.lua b/xmake/modules/private/tools/codesign.lua
index 8bdeabcac..1517c72b0 100644
--- a/xmake/modules/private/tools/codesign.lua
+++ b/xmake/modules/private/tools/codesign.lua
@@ -67,7 +67,7 @@ function main (programdir, codesign_identity)
-- get codesign
local sign = "-"
- if codesign_identity then
+ if codesign_identity then -- we will uses sign/'-' if be false for `xmake f --xcode_codesign_identity=n`
local identities = codesign_identities()
if identities then
sign = identities[codesign_identity]