summaryrefslogtreecommitdiff
path: root/MakeRelease.job
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2016-09-09 20:32:52 +0200
committerChristophe Lyon <christophe.lyon@linaro.org>2016-09-09 20:32:52 +0200
commit24b9f13869b1a8134ebf073fd13bfda63bb57909 (patch)
tree532ac25d6fd0fa96608033dca1bd493b2349e998 /MakeRelease.job
parent49a20d73602fd681d0ce2ff6269cdda7d1bf6166 (diff)
scripts/MakeRelease.job: Fix cleanup.
${local_builds} is not defined, so don't try to cleanup below it. _build/builds/${host}/${target} shouldn't exist anyway when host is i686-w64-mingw32 as the script starts by cleaning _build/ Change-Id: I20d17cab9431e7c10e8cd4a87a476a02268afecf
Diffstat (limited to 'MakeRelease.job')
-rwxr-xr-xMakeRelease.job3
1 files changed, 1 insertions, 2 deletions
diff --git a/MakeRelease.job b/MakeRelease.job
index f293ebac..eeb2bb9b 100755
--- a/MakeRelease.job
+++ b/MakeRelease.job
@@ -77,7 +77,7 @@ fi
if test ! -d ${user_workspace}/_build; then
mkdir -p ${user_workspace}/_build
else
- rm -fr ${user_workspace}/_build/* ${user_workspace}/_build/sysroots/*
+ rm -fr ${user_workspace}/_build/*
fi
# By default, always update all sources
@@ -133,7 +133,6 @@ if test x"${canadian}" = x"true"; then
$CONFIG_SHELL ${abe_dir}/abe.sh ${update} --release ${release} ${srcs} ${platform} --build all ${libc} ${extra} --tarbin >> ${logfile}
abe_ret=$?
host="--host i686-w64-mingw32"
- rm -fr ${local_builds}/${host}/${target}/
else
host=""
fi