about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorDaiki Ihara <sasurau4@gmail.com>2020-11-02 21:17:52 +0900
committerDaiki Ihara <sasurau4@gmail.com>2020-11-06 20:33:12 +0900
commit07aef9059372f1b3bf61d88bf5917e96e487d323 (patch)
tree1ad36f234b78d0ba8f561cee047882ce1a1138b5 /scripts
parent21a097f17e62b6020880dc7e380b9efb3d4bce50 (diff)
fix shellcheck error of SC2068
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/cargo.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/cargo.sh b/scripts/cargo.sh
index e63daa40f35..947b4a28798 100755
--- a/scripts/cargo.sh
+++ b/scripts/cargo.sh
@@ -10,7 +10,7 @@ cmd=$1
 shift || true
 
 if [[ "$cmd" = "jit" ]]; then
-cargo +${TOOLCHAIN} rustc $@ -- --jit
+cargo +${TOOLCHAIN} rustc "$@" -- --jit
 else
-cargo +${TOOLCHAIN} $cmd $@
+cargo +${TOOLCHAIN} $cmd "$@"
 fi