scripts: mkmakefile: set umask before calling BR's makefile
authorGuido Martínez <guido@vanguardiasur.com.ar>
Fri, 21 Nov 2014 16:19:05 +0000 (13:19 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 13 Jul 2015 15:19:56 +0000 (17:19 +0200)
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 <guido@vanguardiasur.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
support/scripts/mkmakefile

index 27b15073f370f735d8939becd4ea6f63a43a266c..974e2c0eb6e5eabbb9ec9e0291ba56f56361349d 100755 (executable)
@@ -35,7 +35,7 @@ MAKEFLAGS += --no-print-directory
 all    := \$(filter-out Makefile,\$(MAKECMDGOALS))
 
 _all:
-       \$(MAKE) \$(MAKEARGS) \$(all)
+       umask 0022 && \$(MAKE) \$(MAKEARGS) \$(all)
 
 Makefile:;