summaryrefslogtreecommitdiff
path: root/bin/euse
diff options
context:
space:
mode:
authoridl0r <idl0r@gentoo.org>2010-04-06 21:23:46 +0000
committeridl0r <idl0r@gentoo.org>2010-04-06 21:23:46 +0000
commitb6b3c64b95be0c45011a06ef9a046a4071862a72 (patch)
tree58bbade7d3456f572dd28490ae858c385b482995 /bin/euse
parent0006d25964bdc5ac467c765e4ecef9b3985ea893 (diff)
downloadgentoolkit-b6b3c64b95be0c45011a06ef9a046a4071862a72.tar.gz
euse: Fix query to get USE, bug 181309, thanks to Jean-Baptiste Rouault
<jbrouault@gmail.com>. svn path=/trunk/gentoolkit/; revision=767
Diffstat (limited to 'bin/euse')
-rwxr-xr-xbin/euse2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/euse b/bin/euse
index 5950888..023bfe4 100755
--- a/bin/euse
+++ b/bin/euse
@@ -176,7 +176,7 @@ get_useflags() {
# get the currently active USE flags as seen by portage, this has to be after
# restoring USE or portage won't see the original environment
- ACTIVE_FLAGS[9]="$(emerge --info | grep 'USE=' | cut -b 5- | sed -e 's:"::g')" #'
+ ACTIVE_FLAGS[9]="$(portageq envvar USE)" #'
USE_FLAGS_CALCULATED=1
}