At 05:05 PM 1/24/2007 +1100, Anthony Baxter wrote:

> From the top of an egg file:
>
>#!/bin/sh
>if [[ `basename $0` = "setuptools-0.6c5-py2.4.egg" ]]
>then ...
>
>That syntax is a bashism, not /bin/sh.

I've changed it to use single '[ ]' instead of doubled ones.  Is that the 
right syntax for non-bash shells?

_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to