summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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}"