summaryrefslogtreecommitdiff
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
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
-rw-r--r--ChangeLog4
-rwxr-xr-xbin/euse2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 25573c6..0c5e3e2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-04-06: Christian Ruppert <idl0r@gentoo.org>
+ * euse: Fix query to get USE, bug 181309, thanks to Jean-Baptiste Rouault
+ <jbrouault@gmail.com>.
+
2010-04-01: Christian Ruppert <idl0r@gentoo.org>
* revdep-rebuild: Use EMERGE_OPTIONS _after_ EMERGE_DEFAULT_OPTS,
bug 307023, thanks to Albert W. Hopkins <marduk@python.net>.
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
}