Skip to content

Commit 2df4b42

Browse files
committed
Used wrong bash notation, attempting to fix
1 parent 808a3ef commit 2df4b42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.ci/scripts/setup-arm-baremetal-tools.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
# Setup arm example environment (including TOSA tools)
99
git config --global user.email "[email protected]"
1010
git config --global user.name "Github Executorch"
11-
if [[ -z "$#" || "$#" -eq 0 ]]; then
11+
if [[ "$#" -eq 0 ]]; then
1212
bash examples/arm/setup.sh --i-agree-to-the-contained-eula
1313
else
14-
bash examples/arm/setup.sh --i-agree-to-the-contained-eula "$#"
14+
bash examples/arm/setup.sh --i-agree-to-the-contained-eula "$@"
1515
fi

0 commit comments

Comments
 (0)