xinitrc line: 73

View: New views
3 Messages — Rating Filter:   Alert me  

xinitrc line: 73

by J. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thursday, July 17

Hello,

I accidental came across the following. In `xinitrc'

case "x$xfcesm" in

should be:

case "$xfcesm" in

I think.

Thankx,

J.

_______________________________________________
Xfce mailing list
Xfce@...
http://foo-projects.org/mailman/listinfo/xfce
http://www.xfce.org

Re: xinitrc line: 73

by Nick Schermer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2008/7/17 J. <mailing-lists@...>:

> Thursday, July 17
>
> Hello,
>
> I accidental came across the following. In `xinitrc'
>
> case "x$xfcesm" in
>
> should be:
>
> case "$xfcesm" in

This is done to avoid errors on some version of bash when $xfcesm is empty, so
it's fine, since the compared string also starts with a x.

Nick
_______________________________________________
Xfce mailing list
Xfce@...
http://foo-projects.org/mailman/listinfo/xfce
http://www.xfce.org

Re: xinitrc line: 73

by J. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 17 Jul 2008, Nick Schermer wrote:

> 2008/7/17 J. <mailing-lists@...>:
> > Thursday, July 17
> >
> > Hello,
> >
> > I accidental came across the following. In `xinitrc'
> >
> > case "x$xfcesm" in
> >
> > should be:
> >
> > case "$xfcesm" in
>
> This is done to avoid errors on some version of bash when $xfcesm is empty, so
> it's fine, since the compared string also starts with a x.
>
> Nick

Ow ok...

Anyway - thankx for the response.

Cheers.. ppl.

J.

_______________________________________________
Xfce mailing list
Xfce@...
http://foo-projects.org/mailman/listinfo/xfce
http://www.xfce.org
LightInTheBox - Buy quality products at wholesale price