Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add missing $ in shell command
[releng/global-jjb.git]
/
shell
/
docker-get-container-tag.sh
diff --git
a/shell/docker-get-container-tag.sh
b/shell/docker-get-container-tag.sh
index
e522e22
..
e801940
100644
(file)
--- a/
shell/docker-get-container-tag.sh
+++ b/
shell/docker-get-container-tag.sh
@@
-25,7
+25,7
@@
elif [[ $CONTAINER_TAG_METHOD == "yaml-file" ]]; then
dir=${CONTAINER_TAG_YAML_DIR:-$DOCKER_ROOT}
tag_file=$dir/container-tag.yaml
if [[ -f $tag_file ]]; then
dir=${CONTAINER_TAG_YAML_DIR:-$DOCKER_ROOT}
tag_file=$dir/container-tag.yaml
if [[ -f $tag_file ]]; then
- tag=$(yq -r .tag
tag_file
)
+ tag=$(yq -r .tag
"$tag_file"
)
else
echo "File $tag_file not found."
fi
else
echo "File $tag_file not found."
fi