mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-05 18:50:09 +02:00
Need to create build-tools directory when using non-cached install
This commit is contained in:
parent
c39ba28c01
commit
77917e93c0
@ -30,6 +30,7 @@ script "add_build_tools" do
|
|||||||
code "
|
code "
|
||||||
if [ -f /vagrant/cache/build-tools/17.0.0.tar.gz ] ; then
|
if [ -f /vagrant/cache/build-tools/17.0.0.tar.gz ] ; then
|
||||||
echo Installing from cache
|
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
|
tar -C #{sdk_loc}/build-tools -z -x -f /vagrant/cache/build-tools/17.0.0.tar.gz
|
||||||
else
|
else
|
||||||
#{sdk_loc}/tools/android update sdk --no-ui -a -t build-tools-17.0.0 <<X
|
#{sdk_loc}/tools/android update sdk --no-ui -a -t build-tools-17.0.0 <<X
|
||||||
|
Loading…
Reference in New Issue
Block a user