:: Re: [DNG] vdev packaging effort ( w…
Inizio della pagina
Delete this message
Reply to this message
Autore: Rainer Weikusat
Data:  
To: dng
Oggetto: Re: [DNG] vdev packaging effort ( was: state of what's working for modern desktop usage)
Didier Kryn <kryn@???> writes:

[...]

>     2) At the time of this test campaign, the shebang line of vdev
> scripts was #!/bin/dash, which doesn't work in Busybox. It should be
> replaced by #!/bin/sh which works in all cases.


This isn't necessarily true. Both dash and the usual busybox sh are
forks of the Amquist shell (ash) which is supposed to be enable to
execute scripts written in the Bourne shell language/ for the
standardized /bin/sh but they also provide extensions of their own (eg,
like bash, dash supports lexically scoped function variables but the
Bourne/ standard shell doesn't). The busybox ash can also compiled w/o
certain features, eg, arithmetic expansion.

'Replacing /bin/dash with /bin/sh' will only work if the author of the
script use the non-standard name because he doesn't knew any better
instead of because the script actually uses dash features.