From 74728ec12bc0be9a8eb18f9d442384fb9eedc7c5 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 11 Apr 2005 08:17:10 +0000 Subject: handle spaces in ndiswrapper drivers path --- perl-install/network/netconnect.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index fe4fc97fb..7cb53c976 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -1127,7 +1127,7 @@ notation (for example, 1.2.3.4).")), } if ($ndiswrapper_driver eq N("Install a new driver")) { if ($ndiswrapper_inf_file = $in->ask_file(N("Please select the Windows driver (.inf file)"), "/mnt/cdrom")) { - return system("ndiswrapper -i $ndiswrapper_inf_file"); + return system('ndiswrapper', '-i', $ndiswrapper_inf_file); } return 1; } -- cgit v1.2.1