From e85ffb301b294d70ddc1d90234788403666bb944 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Thu, 22 Jun 2000 22:24:05 +0000 Subject: [PATCH] protect the "$Id: $" string that gets printed to files from being expanded itself. --- util/update_copyrights | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/util/update_copyrights b/util/update_copyrights index 61343abd70..2afdfcb103 100644 --- a/util/update_copyrights +++ b/util/update_copyrights @@ -15,6 +15,8 @@ # ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS # SOFTWARE. +# $Id: update_copyrights,v 1.14 2000/06/22 22:24:05 tale Exp $ + require 5.002; # Map copyright owners to the files containing copyright messages. @@ -274,7 +276,9 @@ while (<>) { } if ($first !~ /$pat/ && $_ !~ /$pat/) { - print TARGET "$start\$Id: update_copyrights,v 1.13 2000/06/22 21:46:35 tale Exp $$end\n"; + print TARGET "$start\$"; + print TARGET "Id: "; + print TARGET "\$$end\n"; } print TARGET $first if $first !~ /^\s*$/;