diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-08-09 19:55:07 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-08-09 19:55:07 +0000 |
commit | e40125de6b5784c744ccfc3b501a8e662f574116 (patch) | |
tree | e085c3ce3ac2eddcd6e024195a8dbb8fbf5c777d | |
parent | a9849078ac15df02372b5ccc3a613c534fbbb093 (diff) | |
download | portage-e40125de6b5784c744ccfc3b501a8e662f574116.tar.gz portage-e40125de6b5784c744ccfc3b501a8e662f574116.tar.bz2 portage-e40125de6b5784c744ccfc3b501a8e662f574116.zip |
Force a sane umask in quickpkg for bug #143340.
svn path=/main/trunk/; revision=4210
-rwxr-xr-x | bin/quickpkg | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/quickpkg b/bin/quickpkg index 1231da9ff..1a44cbf84 100755 --- a/bin/quickpkg +++ b/bin/quickpkg @@ -14,6 +14,9 @@ if [ "${UID}" != "0" ] ; then exit 1 fi +# We need to ensure a sane umask for the packages that will be created. +umask 022 + export PORTAGE_DB=$(portageq vdb_path) export ROOT=$(portageq envvar ROOT) export ROOT=${ROOT%/}/ |