From 83294b5a4dfa57c692ac4aa8b564599bb341acc8 Mon Sep 17 00:00:00 2001 From: Rudolf Marek Date: Tue, 19 Jul 2005 09:12:18 +0000 Subject: [PATCH] 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 --- prog/detect/sensors-detect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index e34cb805..86ea1c17 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -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