[Bug 688518] Re: SRU? bashism in startkde

Achim Bohnet allee at kubuntu.org
Thu Apr 14 09:50:10 UTC 2011


Brown paper bag on  :(     On the good side only a developer debugging
feature does not work as expected.

My patch was not complete.  Additionally $1 in [ $1 = "netbook" ] need
to be quoted.  With the maverick-proposed pkgs I still get in .xsession-
errors

...
Start IM through /etc/X11/xinit/xinput.d/all_ALL linked to /etc/X11/xinit/xinput.d/default.
[: 225: =: unexpected operator
startkde: Starting up...
...

That due to $1 not defined when startkde is started by kdm.

root at lap-allee:~# dash
# [ $x = 'bla' ] && echo foo
[: 3: =: unexpected operator
# x=foo
# [ $x = 'bla' ] && echo foo
#     

Appended patch fixes it.



** Attachment added: "quote $1 in test statement"
   https://bugs.launchpad.net/kubuntu-ppa/+bug/688518/+attachment/2033554/+files/startkde.log

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdebase-workspace in Ubuntu.
https://bugs.launchpad.net/bugs/688518

Title:
  SRU? bashism in startkde




More information about the kubuntu-bugs mailing list