diff --git a/shim.rpmmacros b/shim.rpmmacros index 0ab8d3d..731464a 100644 --- a/shim.rpmmacros +++ b/shim.rpmmacros @@ -75,8 +75,8 @@ version signed by the UEFI signing service. \ # -i %define hash(a:i:d:) \ pesign -i %{-i*} -h -P > shim.hash \ - read file0 hash0 < shim.hash \ - read file1 hash1 < %{-d*}/shim%{-a*}.hash \ + read hash0 file0 < shim.hash \ + read hash1 file1 < %{-d*}/shim%{-a*}.hash \ if ! [ "$hash0" = "$hash1" ]; then \ echo Invalid signature\! > /dev/stderr \ echo $hash0 vs $hash1 \