Index: trunk/native/linux/latest/usr/bin/josm-latest
===================================================================
--- trunk/native/linux/latest/usr/bin/josm-latest	(revision 19233)
+++ trunk/native/linux/latest/usr/bin/josm-latest	(revision 19234)
@@ -59,5 +59,5 @@
 
 # If there is more than 8G ram, we can use up to 75% of the memory while still leaving 2G for other things.
-if [ "$(free --mega | grep '^Mem:' | awk '{print $2}')" -gt 8192 ]; then
+if [ "$(LC_ALL=C LANG=C free --mega | grep '^Mem:' | awk '{print $2}')" -gt 8192 ]; then
     # But don't set anything if JAVA_OPTS is already set.
     JAVA_OPTS="${JAVA_OPTS:=-XX:MaxRAMPercentage=75.0 -Xms256m}"
Index: trunk/native/linux/tested/usr/bin/josm
===================================================================
--- trunk/native/linux/tested/usr/bin/josm	(revision 19233)
+++ trunk/native/linux/tested/usr/bin/josm	(revision 19234)
@@ -59,5 +59,5 @@
 
 # If there is more than 8G ram, we can use up to 75% of the memory while still leaving 2G for other things.
-if [ "$(free --mega | grep '^Mem:' | awk '{print $2}')" -gt 8192 ]; then
+if [ "$(LC_ALL=C LANG=C free --mega | grep '^Mem:' | awk '{print $2}')" -gt 8192 ]; then
     # But don't set anything if JAVA_OPTS is already set.
     JAVA_OPTS="${JAVA_OPTS:=-XX:MaxRAMPercentage=75.0 -Xms256m}"
