1
0
Fork 0

Fix mac nightly build

- Ruby 1.8 (on Lion) needs explicit include of Rubygems
This commit is contained in:
James Turner 2014-03-16 17:00:32 +00:00
parent 849c6ccc6e
commit af451fb138

View file

@ -1,5 +1,6 @@
#!/usr/bin/ruby
require 'rubygems' # needed for Ruby 1.8
require 'plist'
$osgLibs = ['osgFX', 'osgParticle', 'osg', 'osgGA', 'osgText', 'osgUtil', 'osgSim', 'osgViewer', 'osgDB']
@ -137,5 +138,5 @@ puts "Creating DMG"
createArgs = "-format UDBZ -imagekey bzip2-level=9 -quiet -volname #{volName}"
`rm #{dmgPath}`
`rm -f #{dmgPath}`
`hdiutil create -srcfolder #{dmgDir} #{createArgs} #{dmgPath}`