summaryrefslogtreecommitdiff
path: root/gnome-settings-daemon
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2013-06-12 16:51:57 +0200
committerBastien Nocera <hadess@hadess.net>2013-06-13 10:44:38 +0200
commitb0ca46dc389ebe9201f8c9bf6c046602900d22b8 (patch)
treefaa88e5af2103b50c1bebe9e37819850d3ac4397 /gnome-settings-daemon
parent704dfdb8f781c476a1885c0d45072e72935af2b0 (diff)
downloadgnome-settings-daemon-b0ca46dc389ebe9201f8c9bf6c046602900d22b8.tar.gz
main: Fix incorrect quote removal
We were trying to remove a comma instead of a single-quote. https://bugzilla.gnome.org/show_bug.cgi?id=701322
Diffstat (limited to 'gnome-settings-daemon')
-rwxr-xr-xgnome-settings-daemon/gnome-settings-daemon-localeexec.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnome-settings-daemon/gnome-settings-daemon-localeexec.in b/gnome-settings-daemon/gnome-settings-daemon-localeexec.in
index 1aca8439..d82b8bf5 100755
--- a/gnome-settings-daemon/gnome-settings-daemon-localeexec.in
+++ b/gnome-settings-daemon/gnome-settings-daemon-localeexec.in
@@ -1,7 +1,7 @@
#! /bin/bash
SETTING=$(gsettings get org.gnome.system.locale region)
-REGION=${SETTING//\,/}
+REGION=${SETTING//\'/}
if [ -n "$REGION" ]; then
export LC_TIME=$REGION