summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/pkg_create
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pkg_add/pkg_create')
-rw-r--r--usr.sbin/pkg_add/pkg_create5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/pkg_create b/usr.sbin/pkg_add/pkg_create
index 537f9b49699..55ec43830a6 100644
--- a/usr.sbin/pkg_add/pkg_create
+++ b/usr.sbin/pkg_add/pkg_create
@@ -1,6 +1,6 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: pkg_create,v 1.42 2005/09/24 19:44:26 espie Exp $
+# $OpenBSD: pkg_create,v 1.43 2005/11/19 14:45:32 espie Exp $
#
# Copyright (c) 2003-2004 Marc Espie <espie@openbsd.org>
#
@@ -473,6 +473,9 @@ for my $contentsfile (@contents) {
}
next GETLINE;
}
+ if (m/^(\@comment\s+\$(?:Open)BSD\$)$/) {
+ $_ = '@comment $'.'OpenBSD: '.basename($fname).',v$';
+ }
&$cont(dosubst($_));
}
}