mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03: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"
|
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.
|
# Determine the hash, unless it was given.
|
||||||
if test -z "$hash"; then
|
if test -z "$hash"; then
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user