]> git.mxchange.org Git - flightgear.git/commitdiff
Ooops, incorrect Ruby syntax.
authorJames Turner <zakalawe@mac.com>
Mon, 13 Aug 2012 10:40:24 +0000 (11:40 +0100)
committerJames Turner <zakalawe@mac.com>
Mon, 13 Aug 2012 10:40:24 +0000 (11:40 +0100)
package/mac/build-mac-nightly-dmg.rb

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