summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/isolated-functions.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh
index c5c2f4824..d9fafbcb6 100755
--- a/bin/isolated-functions.sh
+++ b/bin/isolated-functions.sh
@@ -20,7 +20,8 @@ diefunc() {
echo >&2
echo "!!! ${*:-(no error message)}" >&2
echo "!!! If you need support, post the topmost build error, and the call stack if relevant." >&2
- echo "!!! A complete build log is located at '${PORTAGE_LOG_FILE}'." >&2
+ [ -n "${PORTAGE_LOG_FILE}" ] && \
+ echo "!!! A complete build log is located at '${PORTAGE_LOG_FILE}'." >&2
echo >&2
if [ -n "${EBUILD_OVERLAY_ECLASSES}" ] ; then
echo "This ebuild used the following eclasses from overlays:" >&2