summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2005-01-22 12:52:56 +0000
committerMarc Espie <espie@cvs.openbsd.org>2005-01-22 12:52:56 +0000
commit99333f185672cbb2045222882e8549e2e797a7ab (patch)
treef2f05bfe6fea786a97f3bbf051b8c81ec55d0887 /usr.sbin
parent6c9275c13034fa6b77acf31bafd39542a266dda3 (diff)
explicitly shows fragment names that were not found.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/pkg_create4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/pkg_create b/usr.sbin/pkg_add/pkg_create
index 1e5456786ac..6c7bb1eca86 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.32 2005/01/16 11:16:23 espie Exp $
+# $OpenBSD: pkg_create,v 1.33 2005/01/22 12:52:55 espie Exp $
#
# Copyright (c) 2003-2004 Marc Espie <espie@openbsd.org>
#
@@ -250,7 +250,7 @@ sub deduce_name
$noto =~ s/PFRAG\./PFRAG.no-$frag-/ or
$noto =~ s/PLIST/PFRAG.no-$frag/;
unless (-e $o or -e $noto) {
- die "Missing fragments for $frag";
+ die "Missing fragments for $frag: $o and $noto don't exist";
}
if ($not) {
print "Switching to $noto\n";