diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/adobe-air-sdk.rb | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/Library/Formula/adobe-air-sdk.rb b/Library/Formula/adobe-air-sdk.rb index 4e5890a5c..53c7bab1e 100644 --- a/Library/Formula/adobe-air-sdk.rb +++ b/Library/Formula/adobe-air-sdk.rb @@ -1,24 +1,21 @@ require 'formula' class AdobeAirSdk < Formula - url 'http://airdownload.adobe.com/air/mac/download/3.1/AdobeAIRSDK.tbz2' homepage 'http://www.adobe.com/products/air/sdk/' + url 'http://airdownload.adobe.com/air/mac/download/3.1/AdobeAIRSDK.tbz2' md5 'f2137a34888ce71574da87e0cc3b7b06' version '3.1' def startup_script name - <<-EOS.undent + (bin+name).write <<-EOS.undent #!/bin/bash - exec #{libexec}/bin/#{name} $@ + exec "#{libexec}/bin/#{name}" "$@" EOS end def install libexec.install Dir['*'] - - bin.mkpath - %w[adl adt].each do |tool| - (bin+tool).write startup_script(tool) - end + startup_script("adl") + startup_script("adt") end end |
