tBuild: Set a fixed umask before starting Docker - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 84ca7ef3060cc00e87fb41a18038d66c008a5624 DIR parent 2a80f6a3ad1997762734b157a023f8dcd16f2f7f HTML 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. ----- ttaken from Electron-Cash/Electron-Cash@984967b4080095354dac5d1e652563f331103f5f Diffstat: M contrib/build_tools_util.sh | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) --- DIR diff --git a/contrib/build_tools_util.sh b/contrib/build_tools_util.sh t@@ -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'