[Xquartz-dev] 2.3.2_rc4

Jeremy Huddleston jeremyhu at apple.com
Fri Dec 26 15:21:46 PST 2008


On Dec 26, 2008, at 14:12, Cameron Simpson wrote:
> Fairly importantly, the:
>
>  #!/bin/sh
>
> line needs to be:
>
>  #!/bin/bash

Right...

> In fact, I've copied the whole case statement into my generic script,
> which makes it more efficient in standalone use and lets you strip  
> this
> wrapper down further, should you wish. It would let the wrapper be an
> "if" statement, clearer in its purpose.

Can you send your updated script to the list.

> A minor question: why "${@}" instead of "$@" ? And why "${SHELL}"
> instead of "$SHELL"?

Because things like $PREFIX/bin make me cry, so I like ${...}

> And we should put a usage message and abort at the top if there are no
> arguments i.e. no command supplied:

No... If there are no command line arguments, then we just exec  
X11.bin with no command line arguments.




More information about the Xquartz-dev mailing list