From 5d1597f94b124a0bd6bed185638c57992d6e3dd7 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Mon, 18 Jul 2005 19:08:46 +0000 Subject: [PATCH] Filter the revision string so that it looks better. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3042 7894878c-1315-0410-8ee3-d5d059ff63e0 --- prog/detect/sensors-detect | 1 + 1 file changed, 1 insertion(+) diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index b0f41e27..e34cb805 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -48,6 +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; # 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