Fix verify-image

This commit is contained in:
Shiming Zhang 2022-02-15 16:11:18 +08:00
parent 08ee3ccd26
commit 58d20b90fd
1 changed files with 2 additions and 2 deletions

View File

@ -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}"