mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 12:42:24 +00:00
* Use a restrictive umask to prevent permission problems.
svn path=/nixpkgs/trunk/; revision=4374
This commit is contained in:
parent
ded942b341
commit
51c111cb2e
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue