[Buildroot] [PATCH] build: fix umask test

Kurt Van Dijck dev.kurt at vandijck-laurijssen.be
Mon May 30 21:09:28 UTC 2016


> 
> Hi,
> 
>  > I understand the zsh problem, on the other hand,
>  > any number prefixed with a 0 is octal, isn't it?
> 
> Apparently not to zsh. I haven't found any official notice about it, but
> googling around shows this (old!) patch:
> 
> http://www.zsh.org/mla/workers/1995/msg00518.html
> 
>  > Anyway, I'll re-think the patch too...
> 
> Just moving up the SHELL= line above this check should be enough.

I see, but how would that help when bash is not on the system?
Is bash a prerequisite?

I was thinking on using /bin/printf to avoid using the shell builtin.

Kurt



More information about the buildroot mailing list