* Use a restrictive umask to prevent permission problems.

svn path=/nixpkgs/trunk/; revision=4374
This commit is contained in:
Eelco Dolstra 2005-12-15 17:00:56 +00:00
parent ded942b341
commit 51c111cb2e

View file

@ -11,6 +11,10 @@ fi
test -n "$rev" || rev="HEAD"
# Use a restrictive umask to ensure that the output in the Nix store
# is not group- or world-writable. Nix 0.10 complains about this.
umask 0022
# Determine the hash, unless it was given.
if test -z "$hash"; then