From c939f7a3842642166adfb373c3cfedaf68984636 Mon Sep 17 00:00:00 2001 From: Shiming Zhang Date: Thu, 16 Sep 2021 15:18:52 +0800 Subject: [PATCH] Add debug info --- scripts/diff-image.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/scripts/diff-image.sh b/scripts/diff-image.sh index 898a421..8dfc093 100755 --- a/scripts/diff-image.sh +++ b/scripts/diff-image.sh @@ -24,6 +24,16 @@ PARALLET="${PARALLET:-0}" SELF="$(basename "${BASH_SOURCE[0]}")" +if [[ "${DEBUG}" == "true" ]]; then + echo "DEBUG: ${DEBUG}" + echo "IMAGE1: ${IMAGE1}" + echo "IMAGE2: ${IMAGE2}" + echo "INCREMENTAL: ${INCREMENTAL}" + echo "QUICKLY: ${QUICKLY}" + echo "EXCLUDED: ${EXCLUDED}" + echo "PARALLET: ${PARALLET}" +fi + function check() { local image1="${1:-}" local image2="${2:-}"