summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-03-06 02:33:04 +0000
committerZac Medico <zmedico@gentoo.org>2008-03-06 02:33:04 +0000
commit604fcc64957a466b38ef451c54e7a0005e1cd4a8 (patch)
tree0e569d2c209bcda0b47d290fe9929137d2d5540e /bin/portageq
parentRemove egrep syntax emulation since it's not really needed. (diff)
downloadportage-multirepo-604fcc64957a466b38ef451c54e7a0005e1cd4a8.tar.gz
portage-multirepo-604fcc64957a466b38ef451c54e7a0005e1cd4a8.tar.bz2
portage-multirepo-604fcc64957a466b38ef451c54e7a0005e1cd4a8.zip
Use os.environ["SANDBOX_ON"] = "0" to make portageq exempt from sandbox for
things like writing metadata cache. Thanks to ferringb for the suggestion. svn path=/main/trunk/; revision=9448
Diffstat (limited to 'bin/portageq')
-rwxr-xr-xbin/portageq4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/portageq b/bin/portageq
index c3fe8b37..eb0d0ff6 100755
--- a/bin/portageq
+++ b/bin/portageq
@@ -21,6 +21,10 @@ except KeyboardInterrupt:
import os
+# This allows portageq to be exempt from sandbox,
+# for things like updating metadata cache.
+os.environ["SANDBOX_ON"] = "0"
+
import types
#-----------------------------------------------------------------------------