Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157988 - nwn-data loops forever if CD is not inserted
Summary: nwn-data loops forever if CD is not inserted
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-13 00:34 UTC by Stéphane Bisinger
Modified: 2006-12-27 12:25 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 Stéphane Bisinger 2006-12-13 00:34:34 UTC
If you try to emerge nwn-data with USE="cdinstall" but you haven't inserted your CD the ebuild will loop forever. The problem is that on line 136 we have:
read -n
But the shell complains that read -n requires an argument. The fix is quite simple:
read -n 1
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2006-12-15 11:06:24 UTC
Yeah, newer bash decided to change the way that worked on us... it'll be fixed as soon as we get a chance.
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2006-12-27 12:25:21 UTC
Well, this is FIXED now.  Please be sure to mention what version of the package you're filing a bug report on in the future.

Thanks!