summaryrefslogtreecommitdiff
path: root/pkgtools/port2pkg
diff options
context:
space:
mode:
authorginsbach <ginsbach@pkgsrc.org>2006-09-13 18:18:53 +0000
committerginsbach <ginsbach@pkgsrc.org>2006-09-13 18:18:53 +0000
commitaa846abc8c75b1c872673ebd0ab984535c466cd9 (patch)
tree84b337b38dfc03117518eb013d86d367d73e8ff3 /pkgtools/port2pkg
parent0b2cff830796700f2f2efc14b71c6f12ab30e48f (diff)
downloadpkgsrc-aa846abc8c75b1c872673ebd0ab984535c466cd9.tar.gz
Fix typo in previous revision.
Diffstat (limited to 'pkgtools/port2pkg')
-rwxr-xr-xpkgtools/port2pkg/files/port2pkg.pl4
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");
}