[gnome-settings-daemon] main: Fix incorrect quote removal
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] main: Fix incorrect quote removal
- Date: Thu, 13 Jun 2013 08:44:48 +0000 (UTC)
commit b0ca46dc389ebe9201f8c9bf6c046602900d22b8
Author: Bastien Nocera <hadess hadess net>
Date: Wed Jun 12 16:51:57 2013 +0200
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
.../gnome-settings-daemon-localeexec.in | 2 +-
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 1aca843..d82b8bf 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]