Unmunge the version preservation code and obfuscate it so CVS won't munge
it all over again.
This commit is contained in:
parent
5c316928f1
commit
96c7a40981
@ -57,10 +57,10 @@ MAIN:{
|
||||
}
|
||||
|
||||
foreach $service (keys(%SERVICES)) {
|
||||
$version = '$FreeBSD$';
|
||||
$version = '$' . 'FreeBSD' . '$';
|
||||
if (sysopen(FILE, $service, O_RDONLY)) {
|
||||
while (<FILE>) {
|
||||
next unless (m/(\$FreeBSD$]+\$)/);
|
||||
next unless (m/(\$[F]reeBSD.*?\$)/);
|
||||
$version = $1;
|
||||
last;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user