diff options
-rwxr-xr-x | pkgtools/port2pkg/files/port2pkg.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/port2pkg/files/port2pkg.pl b/pkgtools/port2pkg/files/port2pkg.pl index 54e30b46491..7e42a4f93e2 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.16 2006/09/13 17:33:20 ginsbach Exp $ +# $NetBSD: port2pkg.pl,v 1.17 2006/09/13 18:18:53 ginsbach Exp $ # require 'getopts.pl'; @@ -48,7 +48,7 @@ sub usage_and_exit { sub fix_new_ports { my (@allfiles); my ($fn, $dn); - if (-f "$pkgdr/pkg-comment") { + if (-f "$pkgdir/pkg-comment") { rename("$pkgdir/pkg-comment", "$pkgdir/COMMENT") || warn("can't copy $pkgdir/pkg-comment to $pkgdir/COMMENT"); } |