diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-02-07 20:46:23 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-02-07 20:46:23 +0000 |
commit | 8ca7557fca3d1316e2182d2eab67b85285b55a8f (patch) | |
tree | dd4f3c52b0c3a10f2d65c38b205017c1eb3ce472 | |
parent | 39911c8cb671030beb012bbb9535521578968bda (diff) | |
download | portage-8ca7557fca3d1316e2182d2eab67b85285b55a8f.tar.gz portage-8ca7557fca3d1316e2182d2eab67b85285b55a8f.tar.bz2 portage-8ca7557fca3d1316e2182d2eab67b85285b55a8f.zip |
Only echo PORTAGE_LOG_FILE if it's actually set (may not be if sesandbox is enabled). (trunk r5912)
svn path=/main/branches/2.1.2/; revision=5913
-rwxr-xr-x | bin/ebuild.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh index d943a64a1..f445941d1 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -283,7 +283,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 |