1
0
Fork 0

Mac: make code-signing identity an env variable.

(So I don't have to hard-code my profile ID into git)
This commit is contained in:
James Turner 2012-08-13 11:27:04 +01:00
parent 7c22e497b6
commit 029bc1da55

View file

@ -15,6 +15,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'
@ -78,7 +81,7 @@ end
def code_sign(path)
puts "Signing #{path}"
`codesign -s "FlightGear" #{path}`
`codesign -s "#{codeSignIdentity}" #{path}`
end
fgVersion = File.read("#{srcDir}/version").strip