Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76323 - binutils-config-1.5 fails due to a syntax error in the script
Summary: binutils-config-1.5 fails due to a syntax error in the script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-01 10:09 UTC by Etienne Dube
Modified: 2005-01-01 13:45 UTC (History)
0 users

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


Attachments
patch for binutils-config-1.5 (binutils-config-1.5-r1.patch,390 bytes, patch)
2005-01-01 10:10 UTC, Etienne Dube
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Etienne Dube 2005-01-01 10:09:25 UTC
I get the following error when I try to list or get the profiles (-l or -c switches):

outex files # ./binutils-config-1.5 -c
./binutils-config-1.5: line 203: syntax error in conditional expression
./binutils-config-1.5: line 203: syntax error near `]'
./binutils-config-1.5: line 203: `                              [[ ${VER} = "${CURRENT}" ] && x="${x} *"'


Reproducible: Always
Steps to Reproduce:
Run binutils-config (version 1.5) with the -l or -c switch.

Actual Results:  
outex files # ./binutils-config-1.5 -c
./binutils-config-1.5: line 203: syntax error in conditional expression
./binutils-config-1.5: line 203: syntax error near `]'
./binutils-config-1.5: line 203: `                              [[ ${VER} =
"${CURRENT}" ] && x="${x} *"'



Patch in attached file fixes the problem.
Comment 1 Etienne Dube 2005-01-01 10:10:10 UTC
Created attachment 47323 [details, diff]
patch for binutils-config-1.5
Comment 2 Scott Taylor (RETIRED) gentoo-dev 2005-01-01 12:30:29 UTC
this was fixed and checked into cvs yesterday. yes, there was a window of time
where it was broken. Should probably bump the version to make sure the new one
gets out there. emerge sync && emerge binutils-config will install the fixed
version, though it will still show up as the same version 1.5
Comment 3 SpanKY gentoo-dev 2005-01-01 13:45:13 UTC
1.5-r1 added