chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5af8ec
)
Create the ndk_loc dir first (fixes #52)
author
Daniel Martí
<mvdan@mvdan.cc>
Sun, 4 Jan 2015 03:19:19 +0000
(
04:19
+0100)
committer
Daniel Martí
<mvdan@mvdan.cc>
Sun, 4 Jan 2015 03:19:19 +0000
(
04:19
+0100)
buildserver/cookbooks/android-ndk/recipes/default.rb
patch
|
blob
|
history
diff --git
a/buildserver/cookbooks/android-ndk/recipes/default.rb
b/buildserver/cookbooks/android-ndk/recipes/default.rb
index 05b61e897478c70be25fc28e6ad9b8953176072a..790b9d21e47bc7a5e2cae7699bdcf0957e3461d1 100644
(file)
--- a/
buildserver/cookbooks/android-ndk/recipes/default.rb
+++ b/
buildserver/cookbooks/android-ndk/recipes/default.rb
@@
-2,6
+2,19
@@
ndk_loc = node[:settings][:ndk_loc]
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
timeout 14400
interpreter "bash"