Revision
5226
Author
lsansonetti@apple.com
Date
2011-02-09 17:00:38 -0800 (Wed, 09 Feb 2011)

Log Message

macruby_deploy with --embed now deletes the Current symlink as it seems to cause the AppStore validation process to fail

Modified Paths

Diff

Modified: MacRuby/trunk/bin/ruby_deploy (5225 => 5226)


--- MacRuby/trunk/bin/ruby_deploy	2011-02-10 00:53:17 UTC (rev 5225)
+++ MacRuby/trunk/bin/ruby_deploy	2011-02-10 01:00:38 UTC (rev 5226)
@@ -139,6 +139,10 @@
     rm_rf(app_macruby)
     cp_r(@macruby_framework_path, app_frameworks)
 
+    # Delete the Current framework symlink in the MacRuby.framework copy
+    # as it seems to cause the AppStore validation process to fail.
+    rm_rf(File.join(app_macruby, 'Versions', 'Current'))
+
     # Delete unnecessary things in the MacRuby.framework copy.
     dirs = ['bin', 'include', 'lib/libmacruby-static.a', 'share']
     dirs << 'lib/ruby' if @no_stdlib