summaryrefslogtreecommitdiff
path: root/scripts/saveSample.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/saveSample.sh')
-rwxr-xr-xscripts/saveSample.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/saveSample.sh b/scripts/saveSample.sh
index 1771ba8..e743550 100755
--- a/scripts/saveSample.sh
+++ b/scripts/saveSample.sh
@@ -10,8 +10,8 @@
. "${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
@@ -86,5 +86,3 @@ fi
svn add "${CT_TOP_DIR}/samples/${CT_TARGET}/crosstool.config" >/dev/null 2>&1
svn stat "${CT_TOP_DIR}/samples/${CT_TARGET}" 2>/dev/null |CT_DoLog INFO
-
-rm -f "${CT_ACTUAL_LOG_FILE}"