summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-08-09 19:55:07 +0000
committerZac Medico <zmedico@gentoo.org>2006-08-09 19:55:07 +0000
commite40125de6b5784c744ccfc3b501a8e662f574116 (patch)
treee085c3ce3ac2eddcd6e024195a8dbb8fbf5c777d
parenta9849078ac15df02372b5ccc3a613c534fbbb093 (diff)
downloadportage-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-xbin/quickpkg3
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%/}/