side note

Thierry Mallard thierry@REDACTED
Mon Mar 10 23:04:41 CET 2003


Also, if /usr/bin/sh is mandatory on some distributions, we can
use "#!/usr/bin/env sh" instead

... but then again, let's hope env is in /usr/bin everywhere.. ;-)


On Mon, Mar 10, 2003 at 10:58:32PM +0100, Mickael Remond wrote:
> Hello,
> 
> This is a very minor patch but it prevented from generating the Erlang
> 9.1 new RPM, with a wrong dependancy to /usr/bin/sh instead of /bin/sh.
> 
> So here it is.
> 
> -- 
> Mickaël Rémond

> diff -urN otp_src_R9B-1/lib/observer/priv/bin/etop otp_src_R9B-1b/lib/observer/priv/bin/etop
> --- otp_src_R9B-1/lib/observer/priv/bin/etop	2002-10-03 00:36:08.000000000 +0200
> +++ otp_src_R9B-1b/lib/observer/priv/bin/etop	2003-03-09 10:49:59.000000000 +0100
> @@ -1,4 +1,4 @@
> -#!/usr/bin/sh 
> +#!/bin/sh 
>  
>  NAME="etop"
>  erl -sname $NAME -hidden -s etop -s erlang halt -output text $@
> diff -urN otp_src_R9B-1/lib/observer/priv/bin/getop otp_src_R9B-1b/lib/observer/priv/bin/getop
> --- otp_src_R9B-1/lib/observer/priv/bin/getop	2002-10-03 00:36:09.000000000 +0200
> +++ otp_src_R9B-1b/lib/observer/priv/bin/getop	2003-03-09 10:50:05.000000000 +0100
> @@ -1,4 +1,4 @@
> -#!/usr/bin/sh 
> +#!/bin/sh 
>  
>  NAME="etop"
>  erl -sname $NAME -noinput -hidden -s etop -s erlang halt $@


-- 
Thierry Mallard
http://vawis.net




More information about the erlang-patches mailing list