]> git.decadent.org.uk Git - dak.git/commitdiff
debianqueued: set LC_ALL in the environment
authorAnsgar Burchardt <ansgar@debian.org>
Sun, 3 Feb 2013 13:03:25 +0000 (14:03 +0100)
committerAnsgar Burchardt <ansgar@debian.org>
Sun, 3 Feb 2013 13:05:41 +0000 (14:05 +0100)
Make sure all processes we start also run in the C locale.

queued currently parses the output from gpg to get the name of the
person who signed an upload. A better fix would be to pass --with-colon
to gpg, but as this information is only used for logging anyway...

tools/debianqueued-0.9/debianqueued

index 39d7ba5f4773700cce6bee4ea2d72db7a81ce650..d99c8c878d96a974895fb4703827c20091a3d162 100755 (executable)
@@ -27,6 +27,7 @@ use File::Copy;
 use Digest::MD5;
 
 setlocale(&POSIX::LC_ALL, "C");
+$ENV{"LC_ALL"} = "C";
 
 # ---------------------------------------------------------------------------
 #                                                              configuration