summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-08-04 07:28:03 +0000
committerZac Medico <zmedico@gentoo.org>2007-08-04 07:28:03 +0000
commita4a271de933b80a0f174f7149fcdead55d1f95b6 (patch)
treebf5ae37176784e3df877fa689d696000b7b3fa75 /bin
parent81a0e572ca57abe61cf172a07f408e28173cf27f (diff)
downloadportage-a4a271de933b80a0f174f7149fcdead55d1f95b6.tar.gz
portage-a4a271de933b80a0f174f7149fcdead55d1f95b6.tar.bz2
portage-a4a271de933b80a0f174f7149fcdead55d1f95b6.zip
Generate a QA Notice and cd to ${WORKDIR} if the ${S} directory does not exist. (trunk r7550)
svn path=/main/branches/2.1.2/; revision=7557
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ebuild.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 4da75c656..4a826a4f0 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -977,6 +977,9 @@ dyn_compile() {
if [ -d "${S}" ]; then
srcdir=${S}
cd "${S}"
+ else
+ eqawarn "QA Notice: Directory does not exist: S=\"${S}\""
+ cd "${WORKDIR}"
fi
#our custom version of libtool uses $S and $D to fix
#invalid paths in .la files
@@ -1035,6 +1038,9 @@ dyn_test() {
trap "abort_test" SIGINT SIGQUIT
if [ -d "${S}" ]; then
cd "${S}"
+ else
+ eqawarn "QA Notice: Directory does not exist: S=\"${S}\""
+ cd "${WORKDIR}"
fi
if ! hasq test $FEATURES && [ "${EBUILD_FORCE_TEST}" != "1" ]; then
vecho ">>> Test phase [not enabled]: ${CATEGORY}/${PF}"
@@ -1071,6 +1077,9 @@ dyn_install() {
mkdir "${PORTAGE_BUILDDIR}/image"
if [ -d "${S}" ]; then
cd "${S}"
+ else
+ eqawarn "QA Notice: Directory does not exist: S=\"${S}\""
+ cd "${WORKDIR}"
fi
vecho
vecho ">>> Install ${PF} into ${D} category ${CATEGORY}"