Skip to content

Commit 364d3be

Browse files
committed
Need to use a default value
1 parent 38bf48e commit 364d3be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.ci/scripts/utils.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ install_executorch() {
2020
which pip
2121
# Install executorch, this assumes that Executorch is checked out in the
2222
# current directory.
23-
if [[ $1 == "use-pt-pinned-commit" ]]; then
23+
if [[ "${1:-}" == "use-pt-pinned-commit" ]]; then
2424
./install_requirements.sh --pybind xnnpack --use-pt-pinned-commit
2525
else
2626
./install_requirements.sh --pybind xnnpack

0 commit comments

Comments
 (0)