configure: Account for umasks < 0022.

It seems recent Debian has a umask of 002, interestingly enough;
and so the original check failed there.

Thanks to luroh for reporting!
This commit is contained in:
Augustin Cavalier 2018-10-27 14:00:56 -04:00
parent 93930f335d
commit ca20bd2e48
1 changed files with 1 additions and 1 deletions

2
configure vendored
View File

@ -543,7 +543,7 @@ if [ `umask` -gt 22 ]; then
exit 1
fi
# ensure git checkout was not done with a restrictive umask
if [ `stat -c '%a' $sourceDir/data/system/boot/SetupEnvironment` -ne 644 ]; then
if [ `stat -c '%a' $sourceDir/data/system/boot/SetupEnvironment` -lt 644 ]; then
echo "The source tree was cloned with a umask > 0022. It seems you"
echo have already corrected your umask, but not re-checked-out the
echo source tree. Try running: