Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93359 - sys-fs/udev-056 - incorrect bash line in cdsymlinks.sh
Summary: sys-fs/udev-056 - incorrect bash line in cdsymlinks.sh
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Greg Kroah-Hartman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-20 12:23 UTC by Trenton D. Adams
Modified: 2005-05-20 14:37 UTC (History)
0 users

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 Trenton D. Adams 2005-05-20 12:23:30 UTC
Someone is using assignment operator rather than equality operator in
cdsymlinks.sh.  I just updated my system, and the config file diff shows that
line 162 is being changed to something incorrect.  It previous did the following...
test "$COUNT" -eq 0;

and now does the following

test "$COUNT" = ''

That's an assignment operator instead of an equality operator.  Someone should
fix that because I doubt it will work.  I never updated my configuration as a
result.  I think the person's intention was like so...

test "$COUNT" == ""


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-05-20 12:28:23 UTC
Sorry, but I
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-05-20 12:28:23 UTC
Sorry, but I´ve just run out of crystal balls, so clarify what ebuild are you
talking about and reopen then. 
Comment 3 Trenton D. Adams 2005-05-20 12:58:07 UTC
(In reply to comment #1)
> Sorry, but I
Comment 4 Trenton D. Adams 2005-05-20 12:58:07 UTC
(In reply to comment #1)
> Sorry, but I´ve just run out of crystal balls, so clarify what ebuild are you
> talking about and reopen then. 

Come on, no more crystal balls? ;)

sys-fs/udev
Comment 5 Trenton D. Adams 2005-05-20 12:58:37 UTC
forgot to reopen
Comment 6 Greg Kroah-Hartman (RETIRED) gentoo-dev 2005-05-20 14:37:16 UTC
Please work with the upstream author of the cdsymlinks script, as he has
had a bunch of changes with it recently.  That way your fix will make it
into the main udev release.