pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/flavor/pkg Add better error message when failing to...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2d0446a29d64
branches: trunk
changeset: 537995:2d0446a29d64
user: gdt <gdt%pkgsrc.org@localhost>
date: Wed Jan 23 14:48:50 2008 +0000
description:
Add better error message when failing to tar up old package.
diffstat:
mk/flavor/pkg/replace.mk | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 53a8899a9a74 -r 2d0446a29d64 mk/flavor/pkg/replace.mk
--- a/mk/flavor/pkg/replace.mk Wed Jan 23 14:46:33 2008 +0000
+++ b/mk/flavor/pkg/replace.mk Wed Jan 23 14:48:50 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: replace.mk,v 1.23 2007/12/02 11:29:22 rillig Exp $
+# $NetBSD: replace.mk,v 1.24 2008/01/23 14:48:50 gdt Exp $
#
# _flavor-replace:
@@ -71,7 +71,8 @@
${_REPLACE_OLDNAME_CMD}; \
${SETENV} PKG_DBDIR=${_PKG_DBDIR} PKG_SUFX=${PKG_SUFX} \
PKGREPOSITORY=${WRKDIR} \
- ${_PKG_TARUP_CMD} $${oldname}
+ ${_PKG_TARUP_CMD} $${oldname} || \
+ ${FAIL_MSG} "Could not pkg_tarup $${oldname}".
# Re-installs the old package that has been saved by replace-tarup.
#
Home |
Main Index |
Thread Index |
Old Index