From 48e68662cf7ab600859c434ba3108b8f2ff24199 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 26 Nov 2007 12:06:12 +0000 Subject: Check if ${EBUILD_EXIT_STATUS_FILE} is empty before attempting to use it. svn path=/main/trunk/; revision=8686 --- bin/misc-functions.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/misc-functions.sh') diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 450e71631..1da66392c 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -593,6 +593,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 : -- cgit v1.2.3-1-g7c22