commit:     eb4bc1b1d155d7807bd3047083c480b77828556f
Author:     Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
AuthorDate: Fri Aug 23 17:57:17 2019 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Fri Aug 23 17:57:48 2019 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=eb4bc1b1

unpack: Restore error message.

This was inavertently reverted with commit 17ecafa949.

Fixes: 17ecafa949c87a6f2a2d2c98c7de18ed06f08f2f
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 bin/phase-helpers.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/phase-helpers.sh b/bin/phase-helpers.sh
index cbc803277..42d3bcc54 100644
--- a/bin/phase-helpers.sh
+++ b/bin/phase-helpers.sh
@@ -347,7 +347,7 @@ unpack() {
                                die "Relative paths to unpack() must be 
prefixed with './' in EAPI ${EAPI}"
                        fi
                fi
-               [[ ! -s ${srcdir}${x} ]] && die "${x} does not exist"
+               [[ ! -s ${srcdir}${x} ]] && die "unpack: ${x} does not exist"
 
                __unpack_tar() {
                        if [[ ${y_insensitive} == tar ]] ; then

Reply via email to