diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-02-07 20:45:49 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-02-07 20:45:49 +0000 |
commit | 8d140b782824dc17c600f0fe006f7929de2b85fc (patch) | |
tree | 0e46c88e6c0083512aed241a26554e806663808a | |
parent | 038146623c0cdca0ba2038ee7837c3a2170b35de (diff) | |
download | portage-8d140b782824dc17c600f0fe006f7929de2b85fc.tar.gz portage-8d140b782824dc17c600f0fe006f7929de2b85fc.tar.bz2 portage-8d140b782824dc17c600f0fe006f7929de2b85fc.zip |
Only echo PORTAGE_LOG_FILE if it's actually set (may not be if sesandbox is enabled).
svn path=/main/trunk/; revision=5912
-rwxr-xr-x | bin/isolated-functions.sh | 3 |
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 |