Update debian/upstream-file-count-check.sh to use locale C.UTF8
This commit is contained in:
parent
416f224b43
commit
37a649e3b3
1 changed files with 4 additions and 1 deletions
5
debian/upstream-file-count-check.sh
vendored
5
debian/upstream-file-count-check.sh
vendored
|
@ -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 "Upstream added or removed files"
|
||||||
echo "Update 'debian/gitlab.install' and/or 'debian/ignored-file-list'"
|
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 "\nNewly added files are:"
|
||||||
echo "---------------------"
|
echo "---------------------"
|
||||||
comm -23 debian/upstream-file-list.new debian/upstream-file-list
|
comm -23 debian/upstream-file-list.new debian/upstream-file-list
|
||||||
|
@ -11,3 +13,4 @@
|
||||||
echo "---------------------"
|
echo "---------------------"
|
||||||
echo "\nAfter updating, rename 'debian/upstream-file-list.new' as 'debian/upstream-file-list'\n"
|
echo "\nAfter updating, rename 'debian/upstream-file-list.new' as 'debian/upstream-file-list'\n"
|
||||||
exit 1
|
exit 1
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue