commit 84ca7ef3060cc00e87fb41a18038d66c008a5624
parent 2a80f6a3ad1997762734b157a023f8dcd16f2f7f
Author: Axel Gembe <derago@gmail.com>
Date: Tue, 23 Jul 2019 21:24:32 +0200
Build: Set a fixed umask before starting Docker
Umask seems to leak into Docker containers and causes the build to
not be reproducible accross different umasks.
-----
taken from Electron-Cash/Electron-Cash@984967b4080095354dac5d1e652563f331103f5f
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/contrib/build_tools_util.sh b/contrib/build_tools_util.sh
@@ -1,5 +1,8 @@
#!/usr/bin/env bash
+# Set a fixed umask as this leaks into docker containers
+umask 0022
+
RED='\033[0;31m'
BLUE='\033[0;34m'
YELLOW='\033[0;33m'