[ca-certificates-java] 16/58: Use the locale C.UTF-8 for the hook script to be more robust.

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed May 31 13:13:15 UTC 2017


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

ebourg-guest pushed a commit to branch master
in repository ca-certificates-java.

commit a6fde68f40476bee347aef2ec60eed6a35dab478
Author: Torsten Werner <twerner at debian.org>
Date:   Tue Aug 16 09:03:15 2011 +0000

    Use the locale C.UTF-8 for the hook script to be more robust.
---
 debian/changelog         | 3 ++-
 debian/jks-keystore.hook | 5 +++++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 97304eb..46a8d62 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,8 +2,9 @@ ca-certificates-java (20110816) unstable; urgency=low
 
   * Upgrade Recommends: libnss3-1d to a versioned Depends due to multiarch
     changes. (Closes: #635571)
+  * Use the locale C.UTF-8 for the hook script to be more robust.
 
- -- Torsten Werner <twerner at debian.org>  Tue, 16 Aug 2011 10:44:33 +0200
+ -- Torsten Werner <twerner at debian.org>  Tue, 16 Aug 2011 11:00:33 +0200
 
 ca-certificates-java (20110531) unstable; urgency=low
 
diff --git a/debian/jks-keystore.hook b/debian/jks-keystore.hook
index 39ab9f7..3435d39 100644
--- a/debian/jks-keystore.hook
+++ b/debian/jks-keystore.hook
@@ -2,6 +2,11 @@
 
 set -e
 
+# use the locale C.UTF-8
+unset LC_ALL
+LC_CTYPE=C.UTF-8
+export LC_CTYPE
+
 storepass='changeit'
 if [ -f /etc/default/cacerts ]; then
     . /etc/default/cacerts

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/ca-certificates-java.git



More information about the pkg-java-commits mailing list