summaryrefslogtreecommitdiff
path: root/ci/android-install-ndk.sh
diff options
context:
space:
mode:
authorgnzlbg <gonzalobg88@gmail.com>2018-11-19 15:49:56 +0100
committergnzlbg <gonzalobg88@gmail.com>2018-11-20 10:25:26 +0100
commit37a0bd3251aa5942831d1fdfab8b44b76804e0d9 (patch)
treed9cf594de32e2feb4e91c863fb193d2e43c2e29f /ci/android-install-ndk.sh
parentaca32d997cd738d0e59f5c28f56883ba948f95c3 (diff)
downloadrust-libc-37a0bd3251aa5942831d1fdfab8b44b76804e0d9.tar.gz
Fix shellcheck issues
Diffstat (limited to 'ci/android-install-ndk.sh')
-rw-r--r--ci/android-install-ndk.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/ci/android-install-ndk.sh b/ci/android-install-ndk.sh
index 873f6c52c8..4a5fbc0ba1 100644
--- a/ci/android-install-ndk.sh
+++ b/ci/android-install-ndk.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env sh
# Copyright 2016 The Rust Project Developers. See the COPYRIGHT
# file at the top-level directory of this distribution and at
# http://rust-lang.org/COPYRIGHT.
@@ -30,8 +30,8 @@ esac;
android-ndk-r15b/build/tools/make_standalone_toolchain.py \
--unified-headers \
- --install-dir /android/ndk-$1 \
- --arch $arch \
+ --install-dir "/android/ndk-${1}" \
+ --arch "${arch}" \
--api 24
rm -rf ./android-ndk-r15b-linux-x86_64.zip ./android-ndk-r15b