summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2017-05-16 13:06:05 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2017-05-16 13:06:05 +0000
commitdde5dbb1365408edb8316b64e986e98fce3515e9 (patch)
tree226ca2ade4b020e8780ed0a3129b28e21a9e3c67
parentd03370d5d3d3925e0b2108a3bab76255a8e73d83 (diff)
build-linux.sh: Typos.
Change-Id: Iaef45856f9c94633dc20a54d17b9e107b7c95fae
-rwxr-xr-xbuild-linux.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build-linux.sh b/build-linux.sh
index 53239d7..ab41479 100755
--- a/build-linux.sh
+++ b/build-linux.sh
@@ -199,7 +199,7 @@ do
# Handle boot test via lava, if requested. Put the job in the lava
# queue, we collect the results later
- if [ $boot ]; then
+ if $boot ; then
lava_boot $config
job=$(cat lava_job_id)
case ${job} in
@@ -219,7 +219,7 @@ do
done
# Gather lava jobs results, if requested.
-if [ $boot ]; then
+if $boot ; then
global_lava_result=PASS
[ $lava_status -eq 1 ] && global_lava_result=FAILED