diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/android-sdk.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Library/Formula/android-sdk.rb b/Library/Formula/android-sdk.rb index 8f0510847..f8e77ea11 100644 --- a/Library/Formula/android-sdk.rb +++ b/Library/Formula/android-sdk.rb @@ -35,10 +35,9 @@ class AndroidSdk < Formula # this is data that should be preserved across upgrades, but the Android # SDK isn't too smart, so we still have to symlink it back into its tree. %w[platforms samples temp add-ons sources system-images extras].each do |d| - dst = prefix/d - src = var/'lib/android-sdk'/d - src.mkpath unless src.directory? - dst.make_relative_symlink src + src = var/"lib/android-sdk"/d + src.mkpath + prefix.install_symlink src end %w[adb fastboot].each do |platform_tool| |
