diff options
| author | Bradley M. Froehle | 2011-07-25 20:45:02 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-07-29 08:25:41 -0700 |
| commit | b731fbb206968f602f26af68014514ba076b2cda (patch) | |
| tree | e7dd5783a9fdd7753669bd3d5c2f9fc055eacc6e /Library/Formula | |
| parent | 523bf63340b155c1612da561c67db027e1ac2d52 (diff) | |
| download | homebrew-b731fbb206968f602f26af68014514ba076b2cda.tar.bz2 | |
android-sdk: make adb command executable
Note that this is an adb wrapper that tells the user to use
the correct adb executable.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/android-sdk.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/android-sdk.rb b/Library/Formula/android-sdk.rb index df84de03f..20ae70ab9 100644 --- a/Library/Formula/android-sdk.rb +++ b/Library/Formula/android-sdk.rb @@ -35,12 +35,13 @@ class AndroidSdk < Formula dst.make_relative_symlink src end - (bin/:adb).write <<-EOS.undent + (bin+'adb').write <<-EOS.undent #!/bin/sh ADB="#{prefix}/platform-tools/adb" test -f "$ADB" && exec "$ADB" "$@" echo Use the \\`android\\' tool to install adb. EOS + (bin+'adb').chmod 0755 end def caveats; <<-EOS.undent |
