From 37c23e051cd37a6daf0ff7696ae85c9070b114b4 Mon Sep 17 00:00:00 2001 From: Jeongik Cha Date: Thu, 8 Aug 2019 22:02:45 +0900 Subject: [PATCH] Copy common.csv and diff.csv into DIST_DIR Bug: 138639389 Test: DIST_DIR=... compare_image_and_print.sh ~~ and then check if there are files in DIST_DIR Change-Id: Ia3efde82429abb740b9deb93b4c87c0b45a0217a --- vndk/tools/image-diff-tool/compare_images_and_print.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vndk/tools/image-diff-tool/compare_images_and_print.sh b/vndk/tools/image-diff-tool/compare_images_and_print.sh index fc8b67b0b..9dd958de9 100755 --- a/vndk/tools/image-diff-tool/compare_images_and_print.sh +++ b/vndk/tools/image-diff-tool/compare_images_and_print.sh @@ -8,3 +8,7 @@ cat common.csv echo echo " - Different parts" cat diff.csv + +if [ -v DIST_DIR ]; then + cp common.csv diff.csv $DIST_DIR +fi