diff options
author | 2005-01-22 12:52:55 +0000 | |
---|---|---|
committer | 2005-01-22 12:52:55 +0000 | |
commit | 2c72b285bf6b09bf1e0b19ceada443e0baf4b9a5 (patch) | |
tree | 4c53a2c3de45849d7135b0c67c697743f74fd2eb | |
parent | Reduce diff to NetBSD. (diff) | |
download | wireguard-openbsd-2c72b285bf6b09bf1e0b19ceada443e0baf4b9a5.tar.xz wireguard-openbsd-2c72b285bf6b09bf1e0b19ceada443e0baf4b9a5.zip |
explicitly shows fragment names that were not found.
-rw-r--r-- | usr.sbin/pkg_add/pkg_create | 4 |
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"; |