From a6ddcef28f85d94c68ffb4e3a0063f2170c9388d Mon Sep 17 00:00:00 2001 From: espie Date: Tue, 10 Aug 2004 08:45:21 +0000 Subject: [PATCH] register sample dirs. --- infrastructure/install/make-plist | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/infrastructure/install/make-plist b/infrastructure/install/make-plist index 9c1eaaee732..57ca8e6b14d 100755 --- a/infrastructure/install/make-plist +++ b/infrastructure/install/make-plist @@ -1,5 +1,5 @@ #! /usr/bin/perl -# $OpenBSD: make-plist,v 1.54 2004/08/09 12:48:56 espie Exp $ +# $OpenBSD: make-plist,v 1.55 2004/08/10 08:45:21 espie Exp $ # Copyright (c) 2004 Marc Espie # # Permission to use, copy, modify, and distribute this software for any @@ -160,6 +160,8 @@ sub register my ($self, $plist, $files, $comments) = @_; if (defined $self->{copyfrom}) { $self->{copyfrom}->tag_along($self); + } else { + print "Bogus sample (unattached) detected\n"; } } @@ -180,6 +182,12 @@ sub register &OpenBSD::PackingElement::Exec::register; } +package OpenBSD::PackingElement::Sampledir; +sub register +{ + &OpenBSD::PackingElement::Exec::register; +} + package OpenBSD::PackingElement::DirBase; sub add_to_mtree {