From 084c9e85f76ed5c5ef1178fafb0df180437e71b1 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 15 Feb 2009 18:54:50 +0000 Subject: [PATCH] In dyn_package(), show a more informative die message if an error occurs when creating the tarball. svn path=/main/trunk/; revision=12618 --- bin/misc-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index f7ce2270b..82f44fb7d 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -641,7 +641,7 @@ dyn_package() { mkdir -p "${PORTAGE_BINPKG_TMPFILE%/*}" || die "mkdir failed" tar $tar_options -cf - $PORTAGE_BINPKG_TAR_OPTS -C "${D}" . | \ bzip2 -f > "$PORTAGE_BINPKG_TMPFILE" - assert + assert "failed to pack binary package: '$PORTAGE_BINPKG_TMPFILE'" PYTHONPATH=${PORTAGE_PYM_PATH}${PYTHONPATH:+:}${PYTHONPATH} \ python -c "from portage import xpak; t=xpak.tbz2('${PORTAGE_BINPKG_TMPFILE}'); t.recompose('${PORTAGE_BUILDDIR}/build-info')" if [ $? -ne 0 ]; then -- 2.26.2