[Insight-developers] some useful git commands for ITK
Gaëtan Lehmann
gaetan.lehmann at jouy.inra.fr
Tue Aug 3 10:35:34 EDT 2010
Le 3 août 10 à 16:22, Brad King a écrit :
> On 08/03/2010 06:10 AM, Gaëtan Lehmann wrote:
>> I have a problem on solaris, where /bin/sh is actually sh, not bash.
>> Some expressions like $() doesn't seem to be supported.
>
> That's interesting because Git's implementation uses $() all over the
> place in shell scripts. I think they configure the shebang line at
> build time. What does the "git-submodule" script in your git install
> use for its shebang line? Note that it uses $() right near the top.
>
> It's really a shame that ancient shell creators did not use the $()
> syntax. It is *much* easier to write and read than ``.
it works as expected, because the shebang points to a real bash - /bin/
bash in my install.
/usr/bin/bash is there too on solaris, but it is only in /bin/bash on
my mac.
Gaëtan
--
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66 fax: 01 34 65 29 09
http://voxel.jouy.inra.fr http://www.itk.org
http://www.mandriva.org http://www.bepo.fr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 203 bytes
Desc: Ceci est une signature ?lectronique PGP
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20100803/82a5cc81/attachment.pgp>
More information about the Insight-developers
mailing list