projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a984907
)
Force a sane umask in quickpkg for bug #143340.
author
Zac Medico
<zmedico@gentoo.org>
Wed, 9 Aug 2006 19:55:07 +0000
(19:55 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 9 Aug 2006 19:55:07 +0000
(19:55 -0000)
svn path=/main/trunk/; revision=4210
bin/quickpkg
patch
|
blob
|
history
diff --git
a/bin/quickpkg
b/bin/quickpkg
index 1231da9ffa6df465201c46b061e83f59ca0f2865..1a44cbf84267adb2ea3e46f315708e6aa1bfa2fc 100755
(executable)
--- 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%/}/