From 20d4fafb4fb562cc917ffe528b6ac57cf66301ef Mon Sep 17 00:00:00 2001 From: sakamoto Date: Sat, 24 Feb 2001 11:06:09 +0000 Subject: port2pkg-1.9: fix s/$1/$_/ at reading COMMENT. --- pkgtools/port2pkg/files/port2pkg.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgtools/port2pkg/files') diff --git a/pkgtools/port2pkg/files/port2pkg.pl b/pkgtools/port2pkg/files/port2pkg.pl index e1914421258..f3d5ab569cb 100755 --- a/pkgtools/port2pkg/files/port2pkg.pl +++ b/pkgtools/port2pkg/files/port2pkg.pl @@ -1,6 +1,6 @@ #!/usr/bin/env perl # -# $NetBSD: port2pkg.pl,v 1.8 2001/02/16 13:06:20 wiz Exp $ +# $NetBSD: port2pkg.pl,v 1.9 2001/02/24 11:06:09 sakamoto Exp $ # require 'getopts.pl'; @@ -243,7 +243,7 @@ sub conv_Makefile { || die "$pkgdir/pkg/COMMENT: $!\n"; while () { chomp; - print PKG "COMMENT=\t$1\n"; + print PKG "COMMENT=\t$_\n"; } close(COMMENT); unlink("$pkgdir/pkg/COMMENT"); -- cgit v1.2.3