Bug#385391: update-grub still uses /bin/sh as its interpreter, fails with dash

Jason Thomas jason at debian.org
Thu Aug 31 22:41:50 UTC 2006


Because the people that wrote it knew of no other way.  If you are
skilled in bash scripting we would love your input. Patch or Advice are
both welcome.

Thanks.

On Thu, Aug 31, 2006 at 06:41:45PM +0300, R??mi Denis-Courmont wrote:
> Le jeudi 31 ao?t 2006 02:24, vous avez ?crit :
> > But /usr/sbin/update-grub still has /bin/sh as its interpreter and
> > executing this file with dash fails:
> >
> > root at rattle:~# /usr/sbin/update-grub
> > [: 25: ==: unexpected operator
> > exec: 25: -a: not found
> 
> Is there any serious reason for using the non-standard '-a' option 
> besides pure cosmetic if someone runs top or ps within the short 
> lifespan of update-grub.real anyway ?
> 
> -- 
> R?mi Denis-Courmont
> http://www.remlab.net/



> _______________________________________________
> Pkg-grub-devel mailing list
> Pkg-grub-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-grub-devel





More information about the Pkg-grub-devel mailing list