Fix mac release build

This commit is contained in:
Clément de l'Hamaide 2014-08-14 13:47:31 +02:00
parent d7b5930118
commit 01c48cea4b

View File

@ -95,7 +95,8 @@ puts "Creating directory structure"
`mkdir -p #{osgPluginsDir}`
puts "Copying binaries"
bins = ['fgfs', 'fgjs', 'fgcom', 'fgviewer']
`cp #{$prefixDir}/fgfs.app/Contents/MacOS/fgfs #{macosDir}/fgfs`
bins = ['fgjs', 'fgcom', 'fgviewer']
bins.each do |b|
if !File.exist?("#{$prefixDir}/bin/#{b}")
next