From 33c9a0833fd48f252e5fd591efa7f253fb010936 Mon Sep 17 00:00:00 2001 From: Maxime Gimeno Date: Thu, 6 Jun 2019 16:56:14 +0200 Subject: [PATCH] print diff in check --- .travis/generate_travis.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis/generate_travis.sh b/.travis/generate_travis.sh index e1b42eeedc3..c770c9600f0 100755 --- a/.travis/generate_travis.sh +++ b/.travis/generate_travis.sh @@ -24,7 +24,7 @@ do echo "$f " >> ./tmp.txt fi done - LC_COLLATE=C sort ./tmp.txt > ./.travis/packages.txt + LC_ALL=C sort ./tmp.txt > ./.travis/packages.txt rm ./tmp.txt while read p; do PACKAGES[$INDEX]+="$p " @@ -77,7 +77,8 @@ IFS=$' ' #check if there are differences between the files if ! cmp -s ./.travis.yml ./.travis.old; then - echo ".travis.yml has changed" + echo ".travis.yml has changed : " + diff ./.travis.yml ./.travis.old if [ -n "$CHECK" ]; then echo "You should modify the file .travis/template.txt" exit 1