summaryrefslogtreecommitdiff
path: root/abe-bisect.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.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.sh')
-rwxr-xr-xabe-bisect.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/abe-bisect.sh b/abe-bisect.sh
index 3764d07b..a933c7d9 100755
--- a/abe-bisect.sh
+++ b/abe-bisect.sh
@@ -21,6 +21,7 @@ set -x
check_set()
{
name=$1
+ local val
eval val=\$${name}
[ x$val = x ] && echo $1 not set && exit 1
}