24 Jan
2007
24 Jan
'07
3:25 p.m.
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?