From b6b3c64b95be0c45011a06ef9a046a4071862a72 Mon Sep 17 00:00:00 2001 From: idl0r Date: Tue, 6 Apr 2010 21:23:46 +0000 Subject: [PATCH] euse: Fix query to get USE, bug 181309, thanks to Jean-Baptiste Rouault . svn path=/trunk/gentoolkit/; revision=767 --- ChangeLog | 4 ++++ bin/euse | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 25573c6..0c5e3e2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2010-04-06: Christian Ruppert + * euse: Fix query to get USE, bug 181309, thanks to Jean-Baptiste Rouault + . + 2010-04-01: Christian Ruppert * revdep-rebuild: Use EMERGE_OPTIONS _after_ EMERGE_DEFAULT_OPTS, bug 307023, thanks to Albert W. Hopkins . 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 } -- 2.26.2