[Distutils] setuptools requires bash, not sh.

Phillip J. Eby pje at telecommunity.com
Wed Jan 24 16:25:30 CET 2007

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

> From the top of an egg file:
>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?

More information about the Distutils-SIG mailing list