Skip to content

Commit

Permalink
try array expansion with quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
imperfect-fourth committed Sep 5, 2023
1 parent 43abbc2 commit 14ff372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/checkout
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ setup_git_repo() {
else
echo "Cloning ${REPO_URL}"
# shellcheck disable=SC2086
git clone ${BUILDKITE_GIT_CLONE_FLAGS} ${CLONE_FLAGS[@]} --no-checkout -- "$REPO_URL" .
git clone ${BUILDKITE_GIT_CLONE_FLAGS} "${CLONE_FLAGS[@]}" --no-checkout -- "$REPO_URL" .
local EXIT_STATUS=$?
fi
if [[ $EXIT_STATUS -ne 0 ]]; then
Expand Down

0 comments on commit 14ff372

Please sign in to comment.