From 0d75c2965c4da7cc0d95eb3816280d8beaf74602 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 2 Nov 2007 07:18:43 +0000 Subject: [PATCH] Fix diefunc() so that it doesn't report that the ebuild is from an overlay when EMERGE_FROM == binary. (trunk r8349) svn path=/main/branches/2.1.2/; revision=8375 --- bin/ebuild.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/ebuild.sh b/bin/ebuild.sh index c434c9ba2..df3078f77 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -333,7 +333,8 @@ diefunc() { eerror " ${x}" done fi - if [[ "${EBUILD#${PORTDIR}/}" == "${EBUILD}" ]] ; then + if [ "${EMERGE_FROM}" != "binary" ] && \ + [ "${EBUILD#${PORTDIR}/}" == "${EBUILD}" ] ; then local overlay=${EBUILD%/*} overlay=${overlay%/*} overlay=${overlay%/*} -- 2.26.2