diff --git a/buildserver/cookbooks/android-sdk/recipes/default.rb b/buildserver/cookbooks/android-sdk/recipes/default.rb index b2a6c601..34b418ea 100644 --- a/buildserver/cookbooks/android-sdk/recipes/default.rb +++ b/buildserver/cookbooks/android-sdk/recipes/default.rb @@ -23,26 +23,28 @@ execute "add-android-sdk-path" do not_if "grep #{sdk_loc} /home/#{user}/.bashrc" end -script "add_build_tools" do - interpreter "bash" - user user - cwd "/tmp" - code " - if [ -f /vagrant/cache/build-tools/17.0.0.tar.gz ] ; then - echo Installing from cache - mkdir #{sdk_loc}/build-tools - tar -C #{sdk_loc}/build-tools -z -x -f /vagrant/cache/build-tools/17.0.0.tar.gz - else - #{sdk_loc}/tools/android update sdk --no-ui -a -t build-tools-17.0.0 <