[debhelper-devel] [debhelper] 01/01: Makefile: LC_ALL=C before sort

Niels Thykier nthykier at moszumanska.debian.org
Tue Jun 30 18:14:44 UTC 2015


This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository debhelper.

commit f504fe0a621dd503a43b3fd2459190e26e3127ee
Author: Niels Thykier <niels at thykier.net>
Date:   Tue Jun 30 20:14:18 2015 +0200

    Makefile: LC_ALL=C before sort
    
    Signed-off-by: Niels Thykier <niels at thykier.net>
---
 Makefile         | 4 ++--
 debian/changelog | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 3d2d093..9c2e9f9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 # List of files of dh_* commands. Sorted for debhelper man page.
-COMMANDS=$(shell find . -maxdepth 1 -type f -perm /100 -name "dh_*" -printf "%f\n" | sort)
+COMMANDS=$(shell find . -maxdepth 1 -type f -perm /100 -name "dh_*" -printf "%f\n" | LC_ALL=C sort)
 
 # Find deprecated commands by looking at their synopsis.
 DEPRECATED=$(shell egrep -l '^dh_.* - .*deprecated' $(COMMANDS))
@@ -63,7 +63,7 @@ ifneq ($(USE_NLS),no)
 		done; \
 		if [ -e $$dir/debhelper.pod ]; then \
 			cat $$dir/debhelper.pod | \
-				$(MAKEMANLIST) `find $$dir -type f -maxdepth 1 -name "dh_*.pod" | sort` | \
+				$(MAKEMANLIST) `find $$dir -type f -maxdepth 1 -name "dh_*.pod" | LC_ALL=C sort` | \
 				$(POD2MAN) --name="debhelper" --section=7 > debhelper.$$lang.7; \
 		fi; \
 	done
diff --git a/debian/changelog b/debian/changelog
index eab104d..e47d423 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ debhelper (9.20150629) UNRELEASED; urgency=medium
 
   * d/changelog: Add missing entry for dh_md5sums/#786695 in
     the 9.20150628 release.
+  * Makefile: Set LC_ALL=C when sorting.
 
  -- Niels Thykier <niels at thykier.net>  Sun, 28 Jun 2015 15:08:19 +0200
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git




More information about the debhelper-devel mailing list