Update debian/upstream-file-count-check.sh to use locale C.UTF8

This commit is contained in:
Sruthi Chandran 2019-02-15 22:04:48 +05:30
parent 416f224b43
commit 37a649e3b3

View file

@ -1,6 +1,8 @@
LC_ALL=C.UTF-8 ls -1a |grep -vx .git |grep -vx .pc > debian/upstream-file-list.new
if ! diff -u debian/upstream-file-list debian/upstream-file-list.new
then
echo "Upstream added or removed files"
echo "Update 'debian/gitlab.install' and/or 'debian/ignored-file-list'"
ls -1a |grep -vx .git |grep -vx .pc > debian/upstream-file-list.new
echo "\nNewly added files are:"
echo "---------------------"
comm -23 debian/upstream-file-list.new debian/upstream-file-list
@ -11,3 +13,4 @@
echo "---------------------"
echo "\nAfter updating, rename 'debian/upstream-file-list.new' as 'debian/upstream-file-list'\n"
exit 1
fi