Alexander Klink wrote: > On Tue, Dec 04, 2007 at 01:01:39PM +0300, Sergei Vyshenski wrote: >> Do you prefer to insert bash into dependencies list, >> or we shall introduce something like >> >> if (`which bash` == "") then "/bin/sh" >> >> Without this BSDs would not go. > Does it work with non-Bash shells on the BSDs? I've added the > bash lines because the scripts did not work with the standard Solaris > shell (which is ksh, I believe) ...
/bin/sh on BSDs is a superset of bash, if you mean this. 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. So maybe adding bash as an explicit dependency of deployment is a way out. All the best, Sergei ------------------------------------------------------------------------- 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
