lib/flashsdk/adl.rb in flashsdk-1.0.13.pre vs lib/flashsdk/adl.rb in flashsdk-1.0.14.pre
- old
+ new
@@ -1,9 +1,8 @@
module FlashSDK
- class ADL
- include Sprout::Executable
+ class ADL < Sprout::Executable::Base
add_param :runtime, Path
add_param :pubid, String
@@ -39,9 +38,13 @@
#
set :executable, :adl
end
end
+##
+# TODO: This should NOT be here!
+# This is preventing that method from working
+# as expected only after this FILE is required.
class Sprout::System::UnixSystem
def should_repair_executable path
return false
#return (File.exists?(path) && !File.directory?(path) && File.read(path).match(/^\#\!\/bin\/sh/))