Fix verify-image
This commit is contained in:
parent
08ee3ccd26
commit
58d20b90fd
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue