diff options
author | Matthieu Herrb <matthieu@herrb.eu> | 2020-08-25 18:01:42 +0200 |
---|---|---|
committer | Matthieu Herrb <matthieu@herrb.eu> | 2020-08-25 18:02:15 +0200 |
commit | bf6a3ca39a8d64771b871bf08b1a6babfb2aa301 (patch) | |
tree | 3537efc445555571f402d513b51208f254fe3b2a | |
parent | 8cd77d79b12cb802a3eda0fdd6f7ce11662d02e2 (diff) |
release.sh: check that umask will create archives with correct modes
Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
-rwxr-xr-x | release.sh | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -944,6 +944,14 @@ do shift done +umask=$(umask) +if [ "${umask}" != "022" -o "${umask}" != "0022" ]; then + echo "" + echo "Error: umask is not 022" + echo "" + exit 1 +fi + # If no modules specified (blank cmd line) display help check_modules_specification |