aboutsummaryrefslogtreecommitdiffstats
path: root/sitesummary-client
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2007-11-26 08:42:46 +0000
committerPetter Reinholdtsen <pere@hungry.com>2007-11-26 08:42:46 +0000
commitb04c5021e9655c130e06a655bdd9029a5980f551 (patch)
tree4f0014730d4cff0b324706520a48a760b9a340e8 /sitesummary-client
parentd208fa88c746481025eeef8389bd71e6f9d27b09 (diff)
downloadsitesummary-b04c5021e9655c130e06a655bdd9029a5980f551.tar.gz
sitesummary-b04c5021e9655c130e06a655bdd9029a5980f551.tar.bz2
sitesummary-b04c5021e9655c130e06a655bdd9029a5980f551.tar.xz
* Set the locale to C when collecting data, to make sure the output
format is well known. (Closes: #452899)
Diffstat (limited to 'sitesummary-client')
-rw-r--r--sitesummary-client5
1 files changed, 5 insertions, 0 deletions
diff --git a/sitesummary-client b/sitesummary-client
index 9e53e1f..317ad4f 100644
--- a/sitesummary-client
+++ b/sitesummary-client
@@ -8,6 +8,11 @@
set -e
PATH=/sbin:/usr/sbin:/bin:/usr/bin
+export PATH
+
+# Make sure the output from programs is well known.
+LC_ALL=C
+export LC_ALL
# Make sure to store files in a ramfs backed
# storage area on diskless clients, so use /tmp/.