From f4ab50bfb7028625de4b972036856b38969dd6a0616a4344ffc6d1caf864d565 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Mon, 10 Aug 2015 08:08:44 +0000 Subject: [PATCH] Accepting request 321468 from home:ftake:branches:X11:Utilities fix for boo#941052 OBS-URL: https://build.opensuse.org/request/show/321468 OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/x11-tools?expand=0&rev=34 --- x11-tools.changes | 5 +++++ xim | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/x11-tools.changes b/x11-tools.changes index eeae36c..a945a1d 100644 --- a/x11-tools.changes +++ b/x11-tools.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Aug 9 12:55:18 UTC 2015 - ftake@geeko.jp + +- fix a bashism in xim (boo#941052) + ------------------------------------------------------------------- Fri Jul 3 20:24:13 UTC 2015 - eich@suse.com diff --git a/xim b/xim index 5cac093..ce661b2 100644 --- a/xim +++ b/xim @@ -170,7 +170,7 @@ tmplang=${LC_ALL-${LC_CTYPE-${LANG-en_US}}} echo "Trying to start a default input method for the locale $tmplang ..." subdirlist=$tmplang -while [ "$tmplang" != ${tmplang%[_.@]*} ] +while [ "$tmplang" != "${tmplang%[_.@]*}" ] do tmplang=${tmplang%[_.@]*} subdirlist="$subdirlist $tmplang"