From 6f797c35f063a60f88a3c9e60cddc8254d1d9151 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Tue, 22 May 2007 20:33:43 +0000 Subject: Upgrade scripts/tarball.sh and scripts/saveSample.sh to use the new logging facility. --- scripts/tarball.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'scripts/tarball.sh') diff --git a/scripts/tarball.sh b/scripts/tarball.sh index 1333f7bc..70ebd928 100755 --- a/scripts/tarball.sh +++ b/scripts/tarball.sh @@ -9,8 +9,8 @@ # We need the functions first: . "${CT_TOP_DIR}/scripts/functions" -# Log to a temporary file until we have built our environment -CT_ACTUAL_LOG_FILE="${CT_TOP_DIR}/$$.log" +exec 6>&1 +exec >/dev/null # Override log level unset CT_LOG_ERROR CT_LOG_WARN CT_LOG_EXTRA CT_LOG_DEBUG @@ -85,4 +85,3 @@ tar cfj "${botdir}/${CT_TARGET}.tar.bz2" "${CT_PREFIX_DIR}" 2>/dev/null rm -f "${CT_PREFIX_DIR}/${topdir}.${CT_TARGET}.tar.bzip2" rm -rf "${tempdir}" -rm -f "${CT_TOP_DIR}/$$.log" -- cgit v1.2.3