don't substitute RCS Id in source code,

suggested by Kazuto Ushioda (x-y-z@3si.co.jp).
This commit is contained in:
sakamoto 1999-09-14 00:43:20 +00:00
parent 687f6aa6c5
commit 055ce33423

View file

@ -1,6 +1,6 @@
#!/usr/bin/env perl
#
# $NetBSD: port2pkg.pl,v 1.2 1999/09/03 04:37:36 sakamoto Exp $
# $NetBSD: port2pkg.pl,v 1.3 1999/09/14 00:43:20 sakamoto Exp $
#
require 'getopts.pl';
@ -99,8 +99,8 @@ sub conv_Makefile {
while (<PORTS>) {
if (! /^\#/) {last;}
if (/\$FreeBSD:( .*) \$/ || /\$Id: port2pkg.pl,v 1.2 1999/09/03 04:37:36 sakamoto Exp $/) {
print PKG "\# FreeBSD Id:$1\n";
if (/\$FreeBSD(: .*) \$/ || /\$Id(: .*) \$/) {
print PKG "\# FreeBSD Id$1\n";
} else {
print;
}