mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-06 09:21:07 +03:00
Create the ndk_loc dir first (fixes #52)
This commit is contained in:
parent
d5af8ec8e6
commit
f31ca7c852
1 changed files with 13 additions and 0 deletions
|
@ -2,6 +2,19 @@
|
||||||
ndk_loc = node[:settings][:ndk_loc]
|
ndk_loc = node[:settings][:ndk_loc]
|
||||||
user = node[:settings][:user]
|
user = node[:settings][:user]
|
||||||
|
|
||||||
|
script "setup-android-ndk" do
|
||||||
|
timeout 14400
|
||||||
|
interpreter "bash"
|
||||||
|
user node[:settings][:user]
|
||||||
|
cwd "/tmp"
|
||||||
|
code "
|
||||||
|
mkdir #{ndk_loc}
|
||||||
|
"
|
||||||
|
not_if do
|
||||||
|
File.exists?("#{ndk_loc}")
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
script "setup-android-ndk-r9b" do
|
script "setup-android-ndk-r9b" do
|
||||||
timeout 14400
|
timeout 14400
|
||||||
interpreter "bash"
|
interpreter "bash"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue