From 4e8b159f5edadcd52c081818c34346232e8321bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Sat, 12 Jan 2002 23:08:59 +0000 Subject: [PATCH] Unmunge the version preservation code and obfuscate it so CVS won't munge it all over again. --- etc/pam.d/convert.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/pam.d/convert.pl b/etc/pam.d/convert.pl index cc8579eefc54..6859120a7d97 100644 --- a/etc/pam.d/convert.pl +++ b/etc/pam.d/convert.pl @@ -57,10 +57,10 @@ MAIN:{ } foreach $service (keys(%SERVICES)) { - $version = '$FreeBSD$'; + $version = '$' . 'FreeBSD' . '$'; if (sysopen(FILE, $service, O_RDONLY)) { while () { - next unless (m/(\$FreeBSD$]+\$)/); + next unless (m/(\$[F]reeBSD.*?\$)/); $version = $1; last; }