1
0
mirror of https://github.com/containers/ramalama.git synced 2026-02-05 06:46:39 +01:00

Remove x-prefix to fix shellcheck error

Signed-off-by: Michael Engel <mengel@redhat.com>
This commit is contained in:
Michael Engel
2025-08-06 09:58:51 +02:00
parent 9383b1ebab
commit b83f60d5b8

View File

@@ -1960,7 +1960,7 @@ verify_checksum() {
local _test_blake2s
_test_blake2s="$(printf "can do blake2s" | b2sum -a blake2s | awk '{printf $1}')" || _test_blake2s=""
if [ "X$_test_blake2s" = "X$_well_known_blake2s_checksum" ]; then
if [ "$_test_blake2s" = "$_well_known_blake2s_checksum" ]; then
_calculated_checksum="$(b2sum -a blake2s "$_file" | awk '{printf $1}')" || _calculated_checksum=""
else
say "skipping blake2s checksum verification (installed b2sum doesn't support blake2s)"