Cristian Ionescu-Idbohrn <[EMAIL PROTECTED]> writes:

> Followup-For: Bug #489653
> Package: rssh
> Tags: patch
>
> Attached patch, although not that simple as changing the shell path on
> the shebang line, should make the script work both with bash and dash.
>
> These 2 lines:
>
> echo_e="echo -e"
> [ -z "$($echo_e)" ] || echo_e=echo
>
> should do it.

I think it's fine to just have it be a bash script, given that it's just
an example.  (I think this change would require a global search and
replace of $echo for echo.)

-- 
Russ Allbery ([EMAIL PROTECTED])               <http://www.eyrie.org/~eagle/>



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to