2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 06:15:15 +00:00

Fix as perl itself suggest. \1 better written as $1 at ./sensors-detect line 51.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3043 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Rudolf Marek
2005-07-19 09:12:18 +00:00
parent 5d1597f94b
commit 83294b5a4d

View File

@@ -48,7 +48,7 @@ $ENV{PATH} = '/usr/local/sbin:'.$ENV{PATH}
use vars qw(@pci_adapters @chip_ids @superio_ids $revision);
$revision = '$Revision$ ($Date$)';
$revision =~ s/\$\w+: (.*?) \$/\1/g;
$revision =~ s/\$\w+: (.*?) \$/$1/g;
# This is the list of SMBus or I2C adapters we recognize by their PCI
# signature. This is an easy and fast way to determine which SMBus or I2C