From 8a79adc6f23f557050c17b719995cd8b2d0b26ef Mon Sep 17 00:00:00 2001 From: Ricard Bejarano Date: Mon, 25 Mar 2019 00:15:09 +0100 Subject: [PATCH] fixed shellcheck compliance --- tests/checksec.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/checksec.sh b/tests/checksec.sh index 95ecd95..e6ec1fa 100644 --- a/tests/checksec.sh +++ b/tests/checksec.sh @@ -18,11 +18,11 @@ usage() { } checksec() { - printf "Downloading $1..." + printf "Downloading %s..." "$1" docker pull "$1" >/dev/null echo "Done!" - printf "Extracting $1:$2..." + printf "Extracting %s:%s..." "$1" "$2" image_container="$(docker create "$1")" executable_file="$(mktemp .checksec-XXXXXXXX)" docker cp "$image_container":"$2" "$executable_file" @@ -34,7 +34,7 @@ checksec() { --interactive \ --tty \ --rm \ - --volume "$PWD/$executable_file":"/tmp/$executable_file" \ + --volume "$PWD/$executable_file:/tmp/$executable_file" \ debian \ bash \ -c "\