diff options
author | David Spickett <david.spickett@linaro.org> | 2020-04-21 16:06:08 +0100 |
---|---|---|
committer | David Spickett <david.spickett@linaro.org> | 2020-04-22 13:53:59 +0100 |
commit | 2382c087b5f0d51a4556c8c62f4723ab5a0ab7c9 (patch) | |
tree | 70c781a3087d886dc08a92767b6754991858fd7b /tcwg-start-container.sh | |
parent | 7dac1306e35858ef6485a0abf6222f6e13a28ee0 (diff) |
Various shellcheck warning fixes
First round of low hanging fruit
from the files with the fewest
warnings.
Change-Id: I60ad57b5bfb2f0be9bb6506252c820f44d055200
Diffstat (limited to 'tcwg-start-container.sh')
-rwxr-xr-x | tcwg-start-container.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tcwg-start-container.sh b/tcwg-start-container.sh index ca7b5d91..008e78c4 100755 --- a/tcwg-start-container.sh +++ b/tcwg-start-container.sh @@ -2,7 +2,7 @@ set -ef -o pipefail -. $(dirname $0)/jenkins-helpers.sh +. "$(dirname $0)"/jenkins-helpers.sh convert_args_to_variables "$@" shift "$SHIFT_CONVERTED_ARGS" @@ -15,8 +15,10 @@ set -u if $verbose; then set -x; fi +# shellcheck disable=SC2154 docker pull "$image" +# shellcheck disable=SC2154 if docker stats --no-stream $container >/dev/null 2>&1; then if $keep_existing; then exit 0 |