Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 112573

Summary: ndiswrapper -i fails if path name contains spaces
Product: Gentoo Linux Reporter: Stewart C. Russell <scruss>
Component: [OLD] UnspecifiedAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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...