From: Guido Martínez Date: Fri, 21 Nov 2014 16:19:05 +0000 (-0300) Subject: scripts: mkmakefile: set umask before calling BR's makefile X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fd13247a22884880fd759796dfdfad728590d5d4;p=buildroot.git scripts: mkmakefile: set umask before calling BR's makefile Small optimization so we don't have another 'make' level (caused by the umask fix) when running the generated makefile. Signed-off-by: Guido Martínez Signed-off-by: Thomas Petazzoni --- diff --git a/support/scripts/mkmakefile b/support/scripts/mkmakefile index 27b15073f3..974e2c0eb6 100755 --- a/support/scripts/mkmakefile +++ b/support/scripts/mkmakefile @@ -35,7 +35,7 @@ MAKEFLAGS += --no-print-directory all := \$(filter-out Makefile,\$(MAKECMDGOALS)) _all: - \$(MAKE) \$(MAKEARGS) \$(all) + umask 0022 && \$(MAKE) \$(MAKEARGS) \$(all) Makefile:;