Fix REPO_ARGS again
This commit is contained in:
@ -18,12 +18,12 @@ runs:
|
|||||||
run: |
|
run: |
|
||||||
if [[ ! -z "${{ inputs.repo }}" ]]
|
if [[ ! -z "${{ inputs.repo }}" ]]
|
||||||
then
|
then
|
||||||
REPO_ARGS=-C "${{ inputs.repo }}"
|
REPO_ARGS=(-C "${{ inputs.repo }}")
|
||||||
else
|
else
|
||||||
REPO_ARGS=
|
REPO_ARGS=()
|
||||||
fi
|
fi
|
||||||
|
|
||||||
SUBMODULES="$(git $REPO_ARGS submodule)"
|
SUBMODULES="$(git "${REPO_ARGS[@]}" submodule)"
|
||||||
if [[ $? -ne 0 ]]
|
if [[ $? -ne 0 ]]
|
||||||
then
|
then
|
||||||
echo ERROR git submodule failed
|
echo ERROR git submodule failed
|
||||||
|
Reference in New Issue
Block a user