Comment 22 for bug 1304805

Revision history for this message
Matteo Croce (teknoraver) wrote :

it seems to me the following syntax:

A=B=C D

in dash will execute "D" with the environment variable "A" set to "B=C", so the line:

qdbus=QT_SELECT=qt4 qdbus

would run "qdbus" once, and set "qdbus" to "QT_SELECT=qt4 qdbus":

$ qdbus=QT_SELECT=qt4 qdbus
:1.0
com.ubuntu.Upstart
...
org.freedesktop.DBus
$

I'm not sure that qdbus is started properly with this fix, and I guess that startkde works now only because $qdbus now returns true, as any assignment.

Maybe I'm wrong but this patch is definitely better