From fd13247a22884880fd759796dfdfad728590d5d4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Guido=20Mart=C3=ADnez?= Date: Fri, 21 Nov 2014 13:19:05 -0300 Subject: [PATCH] scripts: mkmakefile: set umask before calling BR's makefile MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- support/scripts/mkmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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:; -- 2.30.2