Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Commit

Permalink
fix yq command quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
gberche-orange committed Sep 25, 2023
1 parent 8adf62b commit e1dedaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addblob.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function addBlobOnChecksumChange() {
pwd
ls -al config/blobs.yml
cat config/blobs.yml
blob_checksum=$(cat config/blobs.yml | yq ."${src}".sha)
blob_checksum=$(cat config/blobs.yml | yq .'"'${src}'"'.sha)
src_checksum=$(cat "${src}" | sha256sum | cut -d " " -f1)
if [ "${blob_checksum}" != "${src_checksum}" ]; then
bosh add-blob ${src} ${target}
Expand Down

0 comments on commit e1dedaa

Please sign in to comment.