[Vm-dev] [commit] r2185 - fix broken locales by copying LANG to LC_ALL

commits at squeakvm.org commits at squeakvm.org
Sun Apr 11 03:12:14 UTC 2010


Author: piumarta
Date: 2010-04-10 20:12:13 -0700 (Sat, 10 Apr 2010)
New Revision: 2185

Modified:
   trunk/platforms/unix/cmake/squeak.in
Log:
fix broken locales by copying LANG to LC_ALL

Modified: trunk/platforms/unix/cmake/squeak.in
===================================================================
--- trunk/platforms/unix/cmake/squeak.in	2010-04-11 03:11:13 UTC (rev 2184)
+++ trunk/platforms/unix/cmake/squeak.in	2010-04-11 03:12:13 UTC (rev 2185)
@@ -3,7 +3,7 @@
 # Launch squeakvm from the command line or a menu script, with a good
 # plugin path, text encodings and pulseaudio kludge
 # 
-# Last edited: 2009-09-18 13:14:40 by piumarta on ubuntu.piumarta.com
+# Last edited: 2010-04-10 20:04:32 by piumarta on ubuntu
 
 PATH=/usr/bin:/bin
 
@@ -82,6 +82,13 @@
     fi
 fi
 
+# fix broken locales
+
+if test -z "$LC_ALL"; then
+    LC_ALL="$LANG"
+    export LC_ALL
+fi
+
 # run the vm
 
 set | fgrep SQUEAK_



More information about the Vm-dev mailing list