diff --git a/setup.sh b/setup.sh index 4c5b182..06c5b5d 100644 --- a/setup.sh +++ b/setup.sh @@ -272,7 +272,8 @@ setup_role() { run "Cloning role repository (sparse)" bash -c " git --config-env=http.https://github.com/.extraheader=GH_AUTH_HEADER \ clone --depth=1 --filter=blob:none --sparse "$REPO_URL" "$TEMP_DIR" && - git -C "$TEMP_DIR" sparse-checkout set "$ROLE" + git --config-env=http.https://github.com/.extraheader=GH_AUTH_HEADER \ + -C "$TEMP_DIR" sparse-checkout set "$ROLE" " ROLE_SRC="$TEMP_DIR/$ROLE"