Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112573 - ndiswrapper -i fails if path name contains spaces
Summary: ndiswrapper -i fails if path name contains spaces
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-14 20:14 UTC by Stewart C. Russell
Modified: 2005-11-14 23:05 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 Stewart C. Russell 2005-11-14 20:14:47 UTC
Installation routine fails if driver directory contains spaces, for instance
'Drivers/Windows XP/driver.inf'.

This can usually be fixed by renaming the directory to something without spaces,
or cd'ing to the directory containing the .inf file.

Suggested improvement would be to use Perl's File::Basename and File::Copy core
modules -- rather than shelling out using backticks -- as they both handle file
names without quoting issues.

Reproducible: Always
Steps to Reproduce:
1. ndiswrapper -i 'Drivers/Windows XP/driver.inf'

Actual Results:  
Installer fails with error message from basename

Expected Results:  
Installed the driver binaries
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-11-14 23:05:07 UTC
Needs to be fixed upstream...