🔧 Fix shellcheck issue [run-ci]
This commit is contained in:
+1
-1
@@ -108,7 +108,7 @@ compare_with_target() {
|
||||
do_in_pod import -window root -crop $CROP out.png
|
||||
podman cp "${POD}":/home/gnomeshell/out.png "${WORK_DIR}/out.png"
|
||||
|
||||
DIFF=$(compare "${WORK_DIR}/out.png" ${1} -metric NCC "${WORK_DIR}/diff.png" 2>&1) || true
|
||||
DIFF=$(compare "${WORK_DIR}/out.png" "${1}" -metric NCC "${WORK_DIR}/diff.png" 2>&1) || true
|
||||
|
||||
if (( $(echo "$DIFF < 0.9" |bc -l) )); then
|
||||
fail "${2}"
|
||||
|
||||
Reference in New Issue
Block a user