summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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%/}/