summaryrefslogtreecommitdiffstats
path: root/bin/misc-functions.sh
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-11-26 12:06:58 +0000
committerZac Medico <zmedico@gentoo.org>2007-11-26 12:06:58 +0000
commit55a607ad548d28fe85f020debe366350885c741a (patch)
tree38fa584f0ca51d396d60af501d1e929441cd304a /bin/misc-functions.sh
parent3edcda026f69d5fd1b54900474a5918da7cd1821 (diff)
downloadportage-55a607ad548d28fe85f020debe366350885c741a.tar.gz
portage-55a607ad548d28fe85f020debe366350885c741a.tar.bz2
portage-55a607ad548d28fe85f020debe366350885c741a.zip
Check if ${EBUILD_EXIT_STATUS_FILE} is empty before
attempting to use it. (trunk r8686) svn path=/main/branches/2.1.2/; revision=8687
Diffstat (limited to 'bin/misc-functions.sh')
-rwxr-xr-xbin/misc-functions.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh
index 633b3c37d..9e37fe118 100755
--- a/bin/misc-functions.sh
+++ b/bin/misc-functions.sh
@@ -587,6 +587,7 @@ if [ -n "${MISC_FUNCTIONS_ARGS}" ]; then
done
fi
-touch "${EBUILD_EXIT_STATUS_FILE}" &>/dev/null
+[ -n "${EBUILD_EXIT_STATUS_FILE}" ] && \
+ touch "${EBUILD_EXIT_STATUS_FILE}" &>/dev/null
: