aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2016-10-19 22:44:06 +0200
committerRyan Arnold <ryan.arnold@linaro.org>2016-10-21 22:16:03 +0000
commit42b22ca909bd652bad045df0096c6c989af13be0 (patch)
tree0f963b9d3d2705ca03f147b5736dea959e01141d /scripts
parent1f3ce3671b831fe5b7480fa70955f907feaca884 (diff)
scripts/MakeRelease.job: Fix computation of $logfile.
Until command-line options have been parsed, in case workspace has been overriden. Change-Id: I615860b2c608d9c7eabbc112d7e267f4b288a211
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/MakeRelease.job2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/MakeRelease.job b/scripts/MakeRelease.job
index 1e835d94..36d8e11c 100755
--- a/scripts/MakeRelease.job
+++ b/scripts/MakeRelease.job
@@ -36,7 +36,6 @@ fileserver="148.251.136.42"
extra=
toolchain_config=""
user_workspace="${WORKSPACE:-/home/${USER:-buildslave}/workspace}"
-logfile=${user_workspace}/MakeRelease-${BUILD_NUMBER}.log
OPTS="`getopt -o t:f:d:w:m:l:g:u:h -l target:,date:,fileserver:,workspace:,toolchainconfig:,manifest:,glibc:,gcc:,binutils:,help`"
while test $# -gt 0; do
@@ -63,6 +62,7 @@ fi
shared="/home/buildslave/workspace/shared/"
abe_dir="$(dirname $0)/.."
user_snapshots="${user_workspace}/snapshots"
+logfile=${user_workspace}/MakeRelease-${BUILD_NUMBER}.log
if test -e ${user_workspace}; then
cat << EOF > ${user_workspace}/BUILD-INFO.txt