Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 589512 - sci-libs/linux-gpib: use of REPLACING_VERSIONS does not account for multiple values
Summary: sci-libs/linux-gpib: use of REPLACING_VERSIONS does not account for multiple ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords: QAcanfix
Depends on:
Blocks: 589444
  Show dependency tree
 
Reported: 2016-07-23 12:59 UTC by Michał Górny
Modified: 2016-12-12 22:58 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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-07-23 12:59:40 UTC
See the tracker bug.

  if [[ $REPLACING_VERSIONS < "3.2.21-r1" ]]; then

This doesn't account for RV being empty or having >1 value. Furthermore, < is lexicographical string comparison, so e.g. 10 < 1.
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2016-12-12 22:58:52 UTC
Fixed