aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Baylis <charles.baylis@linaro.org>2015-03-18 10:50:07 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2015-04-02 21:11:07 +0100
commit42120778d6fdff4759ec32491da655cdc5fb4d2a (patch)
treed1d0b0ba88efc5be061cac59ddfd9c3961d301ce
parent9a4cf2522434ad0c57e81585f383d0f0046f3e37 (diff)
Abort build with an error if the specified manifest file is not found
Change-Id: I48374206b454bc93e9321a46432773db67e9e141
-rwxr-xr-xabe.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/abe.sh b/abe.sh
index 918dc731..4471ea00 100755
--- a/abe.sh
+++ b/abe.sh
@@ -807,6 +807,9 @@ while test $# -gt 0; do
egrep "_revision|_version" $2 > /tmp/rev$$.txt
source /tmp/rev$$.txt
rm /tmp/rev$$.txt
+ else
+ error "Manifest file '$2' not found"
+ build_failure
fi
shift
echo $gcc_version