Commit e85ffb30 authored by David Lawrence's avatar David Lawrence
Browse files

protect the "$Id: $" string that gets printed to files from being

expanded itself.
parent 9c3531d7
......@@ -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*$/;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment