[sslh] genver.sh interpreter

Jason Cooper sslh at lakedaemon.net
Mon Feb 17 14:44:47 CET 2014


On Mon, Feb 17, 2014 at 01:16:13PM +0000, Matt Smith wrote:
> Hi,
> 
> Can I suggest a little tweak for the genver.sh script that's part of
> the source? I use sslh on FreeBSD and on that platform bash is
> installed as /usr/local/bin/bash which means I have to edit the
> script to compile it. To make it more portable do you think it would
> be better to use #!/usr/bin/env bash as the interpreter instead?
> 
> Also on FreeBSD bash isn't installed as default although it can be
> easily installed as a package, but this means that sslh has a
> dependency on bash. I'm wondering if it might be better to just
> write it to use /bin/sh which is generally available on everything.

Ahh, yeah, sorry.  I use bash everywhere and sometimes forget to revert
to /bin/sh.  Unfortunately, I avoid /bin/sh because of ubuntu's cursed
dash.  :-/

Did you try /bin/sh instead?  Did it work for you?

If so, I'll gin up a patch and post it.

thx,

Jason.



More information about the sslh mailing list