9 test -e $NDK_BASE || mkdir -p $NDK_BASE
12 if [ ! -e $NDK_BASE/r10e ]; then
13 7zr x /vagrant/cache/android-ndk-r10e-linux-x86_64.bin > /dev/null
14 mv android-ndk-r10e r10e
17 for version in r11c r12b r13b r14b r15c r16b; do
18 if [ ! -e ${NDK_BASE}/${version} ]; then
19 unzip /vagrant/cache/android-ndk-${version}-linux-x86_64.zip > /dev/null
20 mv android-ndk-${version} ${version}
24 chmod -R a+rX $NDK_BASE/
25 find $NDK_BASE/ -type f -executable -print0 | xargs -0 chmod a+x