summaryrefslogtreecommitdiff
path: root/MakeRelease.job
diff options
context:
space:
mode:
authorRyan S. Arnold <ryan.arnold@linaro.org>2016-09-06 22:01:42 -0500
committerRyan S. Arnold <ryan.arnold@linaro.org>2016-09-09 16:52:28 -0500
commitbfe20b0114ccaf0d83d1f03cc10a5489e8db3e3b (patch)
treecd0443fe78b30fc1144252cbac495b05a33db222 /MakeRelease.job
parent24b9f13869b1a8134ebf073fd13bfda63bb57909 (diff)
MakeRelease.job should fail if 'date' isn't set.
Otherwise --release as passed to ABE will be empty. Change-Id: Id30ad5c0cb4044273f0b4678bde91569bfe3ffe5
Diffstat (limited to 'MakeRelease.job')
-rwxr-xr-xMakeRelease.job5
1 files changed, 4 insertions, 1 deletions
diff --git a/MakeRelease.job b/MakeRelease.job
index eeb2bb9b..33d7aaa7 100755
--- a/MakeRelease.job
+++ b/MakeRelease.job
@@ -104,7 +104,10 @@ if ! test -e host.conf; then
fi
if test x"${date}" != x; then
- release="${date}"
+ release="${date}"
+else
+ echo "MakeRelease.job must be invoked with a --date <release> string."
+ exit 1
fi
if test "`echo ${target} | grep -c linux`" -gt 0; then