> > I would probably file a bug against which that it should use #!/bin/sh
> > instead of #!/bin/bash.
>
> Ah, that would be a bad idea unless it's also rewritten:
>
> $ ash /usr/bin/which gcc
> enable: not found
> -p: not found
> gcc is /usr/bin/gcc
>
> ('enable' and 'type -p' are bashisms.)
But of course. But that does not mean that #!/bin/bash is the best
thing to start off system scripts with either.
You were using /bin/ash not /bin/sh. I know nothing about ash, please
educate me. Is ash ever a possible /bin/sh? Does ash claim POSIX
shell syntax compliance?
Bob
Attachment:
pgptt7L5y1zNX.pgp
Description: PGP signature