2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 22:35:23 +00:00

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
This commit is contained in:
Jean Delvare
2005-07-18 19:08:46 +00:00
parent b008a7ac78
commit 5d1597f94b

View File

@@ -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