mirror of https://github.com/CGAL/cgal
print diff in check
This commit is contained in:
parent
39d81a8d68
commit
33c9a0833f
|
|
@ -24,7 +24,7 @@ do
|
||||||
echo "$f " >> ./tmp.txt
|
echo "$f " >> ./tmp.txt
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
LC_COLLATE=C sort ./tmp.txt > ./.travis/packages.txt
|
LC_ALL=C sort ./tmp.txt > ./.travis/packages.txt
|
||||||
rm ./tmp.txt
|
rm ./tmp.txt
|
||||||
while read p; do
|
while read p; do
|
||||||
PACKAGES[$INDEX]+="$p "
|
PACKAGES[$INDEX]+="$p "
|
||||||
|
|
@ -77,7 +77,8 @@ IFS=$' '
|
||||||
#check if there are differences between the files
|
#check if there are differences between the files
|
||||||
if ! cmp -s ./.travis.yml ./.travis.old;
|
if ! cmp -s ./.travis.yml ./.travis.old;
|
||||||
then
|
then
|
||||||
echo ".travis.yml has changed"
|
echo ".travis.yml has changed : "
|
||||||
|
diff ./.travis.yml ./.travis.old
|
||||||
if [ -n "$CHECK" ]; then
|
if [ -n "$CHECK" ]; then
|
||||||
echo "You should modify the file .travis/template.txt"
|
echo "You should modify the file .travis/template.txt"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue