Reinstate umask test into configure now that the buildbots have been fixed.

This commit is contained in:
Augustin Cavalier
2017-07-31 17:33:51 -04:00
parent 4b530fca37
commit c6c03d566e
Vendored
+5
View File
@@ -388,6 +388,11 @@ if [ "$1" = "--help" ] || [ "$1" = "-h" ]; then
usage; exit 0; usage; exit 0;
fi fi
# ensure umask is not too restrictive
if [ $(umask) -gt 22 ]; then
echo "Your umask is too restrictive (should be: <= 0022; is actually:" $(umask)")"
exit 1
fi
# get cwd and the source directory # get cwd and the source directory
currentDir=`pwd` currentDir=`pwd`