summaryrefslogtreecommitdiffstats
path: root/lib/network/ndiswrapper.pm
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2009-06-08 12:43:48 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2009-06-08 12:43:48 +0000
commit05ba05d53a607f63290c23a7d28c4a57bd79fad2 (patch)
tree857f1257e16a25488b41ee1a36921ec34e2bdc2c /lib/network/ndiswrapper.pm
parent8e2ac81704a03c2ca1137b0375883149cb5fb68b (diff)
downloaddrakx-net-05ba05d53a607f63290c23a7d28c4a57bd79fad2.tar
drakx-net-05ba05d53a607f63290c23a7d28c4a57bd79fad2.tar.gz
drakx-net-05ba05d53a607f63290c23a7d28c4a57bd79fad2.tar.bz2
drakx-net-05ba05d53a607f63290c23a7d28c4a57bd79fad2.tar.xz
drakx-net-05ba05d53a607f63290c23a7d28c4a57bd79fad2.zip
Using correct prefix when searching for ndiswrapper drivers during
installation (#44416).
Diffstat (limited to 'lib/network/ndiswrapper.pm')
-rw-r--r--lib/network/ndiswrapper.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/ndiswrapper.pm b/lib/network/ndiswrapper.pm
index 84edd6b..9a47b07 100644
--- a/lib/network/ndiswrapper.pm
+++ b/lib/network/ndiswrapper.pm
@@ -33,7 +33,7 @@ sub get_devices {
sub ask_driver {
my ($in) = @_;
- if (my $inf_file = $in->ask_file(N("Please select the Windows driver (.inf file)"), "/media")) {
+ if (my $inf_file = $in->ask_file(N("Please select the Windows driver (.inf file)"), $::prefix . "/media")) {
my $driver = basename(lc($inf_file));
$driver =~ s/\.inf$//;