diff options
author | gdt <gdt@pkgsrc.org> | 2008-01-23 14:48:50 +0000 |
---|---|---|
committer | gdt <gdt@pkgsrc.org> | 2008-01-23 14:48:50 +0000 |
commit | 8c1132d30925997fdea4b1ca84a7fab305e0544e (patch) | |
tree | 0e56fd58fda4aadf9dd2173fceecc7b905b5a081 /mk | |
parent | ddf74e4220d5b80ea80c30ce9f0d8f349123c413 (diff) | |
download | pkgsrc-8c1132d30925997fdea4b1ca84a7fab305e0544e.tar.gz |
Add better error message when failing to tar up old package.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/flavor/pkg/replace.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/flavor/pkg/replace.mk b/mk/flavor/pkg/replace.mk index fedc70ab54f..e58ff9f3196 100644 --- a/mk/flavor/pkg/replace.mk +++ b/mk/flavor/pkg/replace.mk @@ -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-tarup: .PHONY ${_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. # |