Skip to content

Commit

Permalink
Fix shell script variable syntax (#2334)
Browse files Browse the repository at this point in the history
  • Loading branch information
koln67 authored Nov 18, 2024
1 parent 3ea99f5 commit 62acf41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daisy_workflows/export/export_disk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ SBOM_ALREADY_GENERATED=$(curl -f -H Metadata-Flavor:Google ${URL}/sbom-already-g
# The sha256 sum local text file path used for the sbom: same functionality as $SBOM_PATH.
SHA256_PATH=$(curl -f -H Metadata-Flavor:Google ${URL}/sha256-path)

if SBOM_PATH == "" || SHA256_PATH == ""; then
if $SBOM_PATH == "" || $SHA256_PATH == ""; then
echo "ExportFailed: sbom path ${SBOM_PATH}, or sha256 text file path ${SHA256_PATH}, was not passed in"
exit 1
fi
Expand Down

0 comments on commit 62acf41

Please sign in to comment.