Cound not build project because of LANGUAGE environment variable.
By hkato... on November 04, 2010 01:56 (imported from Google Code)
What steps will reproduce the problem?
- set LANGUAGE shell environment to non C. (ex. ja_JP.UTF-8)
- Build iterm2
What is the expected output? What do you see instead?
expected: Complete building without error.
result: Always error occurs inside a updateVersion.py(coundn' get revision information)
What version of the product are you using? On what operating system?
revision:287
OS: Mac OS X 10.6.4 (Japanese environment)
Please provide any additional information below.
The following code is the patch for this issue:
Index: updateVersion.py
--- updateVersion.py (revision 287)
+++ updateVersion.py (working copy)
@@ -12,7 +12,7 @@
from Foundation import NSMutableDictionary
if os.environ["CONFIGURATION"] == "Development":
- status, output = commands.getstatusoutput("bash -l -c 'svn info'")
-
status, output = commands.getstatusoutput("bash -l -c 'LANGUAGE=C svn info'") if status != 0: sys.exit(status)