* Mike Hommey ([EMAIL PROTECTED]) wrote:
> On Tue, Feb 27, 2007 at 01:41:47PM +0100, Mike Hommey wrote:
> > On Tue, Feb 27, 2007 at 09:16:43PM +0900, Jonny wrote:
> > > I don't understand, either.
> > >
> > > The output of "set -x":
> > (...)
> > > + set -- -a firefox
> > (...)
> > > + exec_verbose /usr/lib/iceweasel/firefox-bin firefox
> > > + verbose Running: /usr/lib/iceweasel/firefox-bin firefox
> > > + [ ]
> > > + exec /usr/lib/iceweasel/firefox-bin firefox
> > (...)
> >
> > Obviously the problem is here
> > > set -- "$@" "-a" "${APPLICATION_ID}"
>
> BTW, Eric, I fail to understand why you added these --. To prevent problems
> when the first argument begins with a dash ? This was already prevented by
> this:
> if [ ${first} -eq 1 ]; then
> set dummy
> first=0
> fiMaybe my shell-fu isn't what it should be, but shouldn't set and set -- be equivalent then? I don't understand why this would have changed behavior. I just made the change for what I thought was correctness's sake. -- Eric Dorland <[EMAIL PROTECTED]> ICQ: #61138586, Jabber: [EMAIL PROTECTED] 1024D/16D970C6 097C 4861 9934 27A0 8E1C 2B0A 61E9 8ECF 16D9 70C6
signature.asc
Description: Digital signature

