summaryrefslogtreecommitdiff
path: root/abe-bisect-helper.sh
diff options
context:
space:
mode:
authorDavid Spickett <david.spickett@linaro.org>2020-04-21 16:06:08 +0100
committerDavid Spickett <david.spickett@linaro.org>2020-04-22 13:53:59 +0100
commit2382c087b5f0d51a4556c8c62f4723ab5a0ab7c9 (patch)
tree70c781a3087d886dc08a92767b6754991858fd7b /abe-bisect-helper.sh
parent7dac1306e35858ef6485a0abf6222f6e13a28ee0 (diff)
Various shellcheck warning fixes
First round of low hanging fruit from the files with the fewest warnings. Change-Id: I60ad57b5bfb2f0be9bb6506252c820f44d055200
Diffstat (limited to 'abe-bisect-helper.sh')
-rwxr-xr-xabe-bisect-helper.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/abe-bisect-helper.sh b/abe-bisect-helper.sh
index db71b10f..ac546f1b 100755
--- a/abe-bisect-helper.sh
+++ b/abe-bisect-helper.sh
@@ -15,6 +15,7 @@
check_set()
{
name=$1
+ local val
eval val=\$${name}
[ x$val = x ] && echo $1 not set && exit 1
}
@@ -28,7 +29,7 @@ check_set TARGET
#check_set SIMU
REV=$(git show --format=%H -s BISECT_HEAD)
-echo AT `date` BISECT TRYING: ${REV}
+echo AT "$(date)" BISECT TRYING: ${REV}
git --no-pager show $REV
set -x