Skip to content
Snippets Groups Projects
Commit 9bff4d2a authored by Dmytro Bogatov's avatar Dmytro Bogatov :two_hearts:
Browse files

Fix.

parent a591c13f
No related branches found
No related tags found
No related merge requests found
Pipeline #15367 passed
...@@ -77,11 +77,16 @@ build: ...@@ -77,11 +77,16 @@ build:
image: dbogatov/docker-images:latex-latest image: dbogatov/docker-images:latex-latest
stage: build stage: build
script: script:
- args="${args:-' '}"
- echo "${#args[@]}" - echo "${#args[@]}"
- echo $BUILD_ARGS - echo $BUILD_ARGS
- IFS='|' read -r -a args <<< "$BUILD_ARGS" - IFS='|' read -r -a args <<< "$BUILD_ARGS"
- echo "${#args[@]}" - echo "${#args[@]}"
- |
if [ ${#args[@]} -eq 0 ]
then
args="${args:-' '}"
fi
- echo "${#args[@]}"
- | - |
for arg in "${args[@]}" for arg in "${args[@]}"
do do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment