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
This commit is contained in:
Stefan Dirsch 2015-08-10 08:08:44 +00:00 committed by Git OBS Bridge
parent c83df934a8
commit f4ab50bfb7
2 changed files with 6 additions and 1 deletions

View File

@ -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

2
xim
View File

@ -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"