From 58d20b90fd962f8266cf963f106296c50e0050f8 Mon Sep 17 00:00:00 2001 From: Shiming Zhang Date: Tue, 15 Feb 2022 16:11:18 +0800 Subject: [PATCH] Fix verify-image --- hack/verify-image.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/verify-image.sh b/hack/verify-image.sh index 632cd5a..51fe55c 100755 --- a/hack/verify-image.sh +++ b/hack/verify-image.sh @@ -6,9 +6,9 @@ file=mirror.txt cp "${file}" "${file}.bak" -git apply -R <(curl -fsSL "${patch_url}") +git apply -R <(curl -fsSL "${patch_url}") || : -list=$(diff --unified "${file}" "${file}.bak" | grep -E '^+\w' | sed 's/^+//' || :) +list=$(diff --unified "${file}" "${file}.bak" | grep '^+\w' | sed 's/^+//' || :) for image in ${list}; do echo "Checking image: ${image}"