On Tue, Aug 07, 2007 at 09:36:27PM +0100, Brian Paul wrote:
> Bash was needed for the line:
>        @ if [ -e configs/current ] ; then
> 
> is
>        @ if `test -e configs/current ` ; then
> 
> a suitable replacement for sh?
> 
> Daniel, you shell code doesn't work.

Sorry, the sense was inverted.  And I screwed up capitalisation.

if test -f configs/default || test -L configs/default; then
    echo "look at me, i have a configuration"
fi

Cheers,
Daniel

Attachment: signature.asc
Description: Digital signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to