diff options
author | Johannes Stezenbach <js@sig21.net> | 2012-10-14 23:46:15 (GMT) |
---|---|---|
committer | Johannes Stezenbach <js@sig21.net> | 2012-10-14 23:46:15 (GMT) |
commit | df3be9eef3cc4e0b111d25d75b12fa5ed69a3c1d (patch) | |
tree | 1a71f7da6b63313e48ed00074db941d3fb149e21 /scripts/crosstool-NG.sh.in | |
parent | 899981e4c4917a591a5fe4426dbc075e3417795d (diff) |
scripts: move backtrace marker to CT_WORK_DIR
Avoid error when commands in scripts/crosstool-NG.sh fail
before CT_BUILD_DIR is set.
So we need to remove the backtrace marker of a potential previous
build. Previously, it was implicitly removed because we did remove
the directory it was in, which is no longer the case.
Signed-off-by: Johannes Stezenbach <js@sig21.net>
[yann.morin.1998@free.fr: remove backtrace marker on start of build]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <20121015094615.GA18673@sig21.net>
Patchwork-Id: 191498
Diffstat (limited to 'scripts/crosstool-NG.sh.in')
-rw-r--r-- | scripts/crosstool-NG.sh.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/crosstool-NG.sh.in b/scripts/crosstool-NG.sh.in index 269787a..1f1ffdb 100644 --- a/scripts/crosstool-NG.sh.in +++ b/scripts/crosstool-NG.sh.in @@ -64,6 +64,7 @@ done # Where will we work? CT_WORK_DIR="${CT_WORK_DIR:-${CT_TOP_DIR}/.build}" CT_DoExecLog ALL mkdir -p "${CT_WORK_DIR}" +CT_DoExecLog DEBUG rm -f "${CT_WORK_DIR}/backtrace" # Check build file system case-sensitiveness CT_DoExecLog DEBUG touch "${CT_WORK_DIR}/foo" |