1
0
Fork 0

Code-sign using the identity from the environment.

This commit is contained in:
James Turner 2012-08-13 14:26:33 +01:00
parent 0a40a36041
commit 41356c1aba

View file

@ -17,6 +17,9 @@ osgVersion = runOsgVersion('version-number')
$osgSoVersion=runOsgVersion('so-number')
$openThreadsSoVersion=runOsgVersion('openthreads-soversion-number')
$codeSignIdentity = ENV['FG_CODESIGN_IDENTITY']
puts "Code signing identity is #{$codeSignIdentity}"
puts "osgVersion=#{osgVersion}, so-number=#{$osgSoVersion}"
$alutSourcePath='/Library/Frameworks/ALUT.framework'
@ -69,7 +72,7 @@ end
def code_sign(path)
puts "Signing #{path}"
`codesign -s "Mac Developer: James Turner (3JTY4GZGL8)" #{path}`
`codesign -s "#{$codeSignIdentity}" #{path}`
end