1
0
Fork 0

Ooops, incorrect Ruby syntax.

This commit is contained in:
James Turner 2012-08-13 11:40:24 +01:00
parent 029bc1da55
commit 303f491547

View file

@ -15,8 +15,8 @@ osgVersion = runOsgVersion('version-number')
$osgSoVersion=runOsgVersion('so-number') $osgSoVersion=runOsgVersion('so-number')
$openThreadsSoVersion=runOsgVersion('openthreads-soversion-number') $openThreadsSoVersion=runOsgVersion('openthreads-soversion-number')
codeSignIdentity = ENV['FG_CODESIGN_IDENTITY'] $codeSignIdentity = ENV['FG_CODESIGN_IDENTITY']
puts "Code signing identity is #{codeSignIdentity}" puts "Code signing identity is #{$codeSignIdentity}"
puts "osgVersion=#{osgVersion}, so-number=#{$osgSoVersion}" puts "osgVersion=#{osgVersion}, so-number=#{$osgSoVersion}"
@ -81,7 +81,7 @@ end
def code_sign(path) def code_sign(path)
puts "Signing #{path}" puts "Signing #{path}"
`codesign -s "#{codeSignIdentity}" #{path}` `codesign -s "#{$codeSignIdentity}" #{path}`
end end
fgVersion = File.read("#{srcDir}/version").strip fgVersion = File.read("#{srcDir}/version").strip