build: fix umask detection bashism

the leading 0 is optional and not emitted by some shells

Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
(cherry picked from commit da5bee5345ce8f66eb36b8993b87b684e5cce614)
This commit is contained in:
Thorsten Glaser 2018-10-22 19:28:50 +02:00 committed by Jo-Philipp Wich
parent b98b55a64f
commit d4178c8f47

@ -24,7 +24,7 @@ $(eval $(call TestHostCommand,case-sensitive-fs, \
$(eval $(call TestHostCommand,proper-umask, \
Please build with umask 022 - other values produce broken packages, \
umask | grep -xE 00[012][012]))
umask | grep -xE 0?0[012][012]))
$(eval $(call SetupHostCommand,gcc, \
Please install the GNU C Compiler (gcc) 4.8 or later, \