[distcc] Patch for make maintainer-clean if LANG != C

Niklaus Giger niklaus.giger at gmx.ch
Mon Jan 9 14:42:34 GMT 2006


Hi 

This small patches fixes "make maintainer-check" if
the environment variable LANG is set to something
differtent of "C".

--- orig/test/comfychair.py
+++ mod/test/comfychair.py
@@ -62,6 +62,7 @@
         os.makedirs(self.tmpdir)
         os.system("mkdir -p %s" % self.rundir)
         os.chdir(self.rundir)
+	os.environ['LANG'] = 'C'
 
     def _restore_directory(self):
         import os

Patch tested on a GNU/Debian x86 system and Cygwin
(both the environment was set to LANG=de_CH before
running the test).

It fixes failures in 
GccOptionsPassed_Case          FAIL
SyntaxError_Case               FAIL

Best regards

-- 
Niklaus Giger

10 GB Mailbox, 100 FreeSMS/Monat http://www.gmx.net/de/go/topmail
+++ GMX - die erste Adresse für Mail, Message, More +++


More information about the distcc mailing list