Hi Sergei,
On Tue, Dec 04, 2007 at 05:57:11PM +0300, Sergei Vyshenski wrote:
> /bin/sh on BSDs is a superset of bash, if you mean this.
Good to know. Unfortunately, this is not the case on Solaris.
> But we can install pure bash if needed.
> Without such explicit installation of bash, a construct like
>
> #!/usr/bin/env bash
>
> will not work on BSDs. Also, I do not know the way how to
> include "if" into the first line of the shell script.
I don't think this is possible. We'd also need to recognize the
OS in that line even, because /bin/sh on Solaris won't work.
> So maybe adding bash as an explicit dependency of deployment
> is a way out.
I guess it is the only one (although I am not very happy with it)
at the moment ... For the future, we should consider rewriting
the scripts to "pure" shell.
Best regards,
Alex
--
Dipl.-Math. Alexander Klink | IT-Security Engineer
[EMAIL PROTECTED] | working @ urn:oid:1.3.6.1.4.1.11417
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
OpenXPKI-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-devel