Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127380 - app-portage/gentoolkit - euse -E problem (patch)
Summary: app-portage/gentoolkit - euse -E problem (patch)
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: x86 Other
: High normal
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords: InVCS
: 127379 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-23 21:37 UTC by Trevor Fancher
Modified: 2006-06-19 21:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Trevor Fancher 2006-03-23 21:37:34 UTC
euse needs this patch else running "euse -E anything" results in an error.

I am using GNU bash, version 3.1.14.

--- euse.rev281 2006-03-23 23:01:09.000000000 -0600
+++ euse_new    2006-03-23 23:00:07.000000000 -0600
@@ -399,7 +399,7 @@
                        had_use=1
                fi
        done
-       if [ ${haduse} -eq 0 ]; then
+       if [ "${haduse}" == "0" ]; then
                echo -n 'USE="'
                echo -ne "${NEW_MAKE_CONF_USE_2%% }"
                echo '"'
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-24 00:01:27 UTC
*** Bug 127379 has been marked as a duplicate of this bug. ***
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2006-03-24 09:17:08 UTC
Thanks, even though the patch is wrong (was just a typo in the variable name)
Comment 3 Trevor Fancher 2006-03-24 22:06:36 UTC
I'm not much of a sh coder so I looked around and saw other code that looked like that. :)
Comment 4 Joe Wells 2006-04-01 22:56:07 UTC
(In reply to comment #2)
> Thanks, even though the patch is wrong (was just a typo in the variable name)

The problem is that the name was "haduse" when it should be "had_use", right?

Has this been fixed yet?  The bug is still marked as NEW.
Comment 5 Marius Mauch (RETIRED) gentoo-dev 2006-04-03 12:08:18 UTC
Correct. It is fixed in our Subversion repository, just not released yet (that's when the bug will be marked as FIXED).
Comment 6 Paul Varner (RETIRED) gentoo-dev 2006-06-19 21:23:04 UTC
released in gentoolkit-0.2.2