From 9835dadf71aeb61fbe0a1e5224929f9a4ca5c918 Mon Sep 17 00:00:00 2001 From: James Turner Date: Wed, 8 Aug 2012 15:57:07 +0100 Subject: [PATCH] Copy fgcom data files into the resources dir --- package/mac/build-mac-nightly-dmg.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/mac/build-mac-nightly-dmg.rb b/package/mac/build-mac-nightly-dmg.rb index 3bbcaa9db..568a38200 100755 --- a/package/mac/build-mac-nightly-dmg.rb +++ b/package/mac/build-mac-nightly-dmg.rb @@ -151,6 +151,11 @@ if File.exist?("FlightGearOSX") end end +if File.exist?("#{$prefixDir}/bin/fgcom-data") + puts "Copying FGCom data files" + `ditto #{$prefixDir}/bin/fgcom-data #{resourcesDir}/fgcom-data` +end + puts "Creating DMG" createArgs = "-format UDBZ -imagekey bzip2-level=9 -quiet -volname #{volName}"