summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-07-31 15:18:09 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-07-31 15:18:09 +0000
commit51039844febe1dc7c3f7ac5b3409f00e1679ab76 (patch)
tree1852183fcf4865ea2c78c5acc8a67d731f13df11 /perl-install/detect_devices.pm
parented72bb62ca097fa7a874953b9fad9a60b04fed63 (diff)
downloaddrakx-51039844febe1dc7c3f7ac5b3409f00e1679ab76.tar
drakx-51039844febe1dc7c3f7ac5b3409f00e1679ab76.tar.gz
drakx-51039844febe1dc7c3f7ac5b3409f00e1679ab76.tar.bz2
drakx-51039844febe1dc7c3f7ac5b3409f00e1679ab76.tar.xz
drakx-51039844febe1dc7c3f7ac5b3409f00e1679ab76.zip
replace "$foo" with $foo
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 3da219e8b..ff689800c 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -515,10 +515,10 @@ sub whatUsbport() {
my @res;
foreach $i (0..15) {
my $port = "/dev/usb/lp$i";
- my $realport = devices::make("$port");
+ my $realport = devices::make($port);
next if (!$realport);
next if (! -r $realport);
- open PORT, "$realport" or do next;
+ open PORT, $realport or do next;
my $idstr = "";
# Calculation of IOCTL function 0x84005001 (to get device ID
# string):