aboutsummaryrefslogtreecommitdiff
path: root/cortex-m-rt/ci/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'cortex-m-rt/ci/install.sh')
-rwxr-xr-x[-rw-r--r--]cortex-m-rt/ci/install.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/cortex-m-rt/ci/install.sh b/cortex-m-rt/ci/install.sh
index aa9f149..2086800 100644..100755
--- a/cortex-m-rt/ci/install.sh
+++ b/cortex-m-rt/ci/install.sh
@@ -1,8 +1,10 @@
+#!/usr/bin/env bash
+
set -euxo pipefail
main() {
- if [ $TARGET != x86_64-unknown-linux-gnu ]; then
- rustup target add $TARGET
+ if [ "$TARGET" != x86_64-unknown-linux-gnu ]; then
+ rustup target add "$TARGET"
fi
mkdir gcc