chore: make command check silent

main
Sean McBride 4 years ago
parent d92fc7e8e4
commit 9a673da0a1

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
if ! command -v hey; then if ! command -v hey > /dev/null; then
HEY_URL=https://hey-release.s3.us-east-2.amazonaws.com/hey_linux_amd64 HEY_URL=https://hey-release.s3.us-east-2.amazonaws.com/hey_linux_amd64
wget $HEY_URL -O hey wget $HEY_URL -O hey
chmod +x hey chmod +x hey

@ -19,7 +19,7 @@ source get_result_count.sh || exit 1
source panic.sh || exit 1 source panic.sh || exit 1
source path_join.sh || exit 1 source path_join.sh || exit 1
if ! command -v hey; then if ! command -v hey > /dev/null; then
echo "hey is not present." echo "hey is not present."
exit 1 exit 1
fi fi

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
if ! command -v hey; then if ! command -v hey > /dev/null; then
HEY_URL=https://hey-release.s3.us-east-2.amazonaws.com/hey_linux_amd64 HEY_URL=https://hey-release.s3.us-east-2.amazonaws.com/hey_linux_amd64
wget $HEY_URL -O hey wget $HEY_URL -O hey
chmod +x hey chmod +x hey

@ -15,7 +15,7 @@ source get_result_count.sh || exit 1
source panic.sh || exit 1 source panic.sh || exit 1
source path_join.sh || exit 1 source path_join.sh || exit 1
if ! command -v hey; then if ! command -v hey > /dev/null; then
echo "hey is not present." echo "hey is not present."
exit 1 exit 1
fi fi

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
if ! command -v hey; then if ! command -v hey > /dev/null; then
HEY_URL=https://hey-release.s3.us-east-2.amazonaws.com/hey_linux_amd64 HEY_URL=https://hey-release.s3.us-east-2.amazonaws.com/hey_linux_amd64
wget $HEY_URL -O hey wget $HEY_URL -O hey
chmod +x hey chmod +x hey

@ -16,7 +16,7 @@ source "framework.sh" || exit 1
source "get_result_count.sh" || exit 1 source "get_result_count.sh" || exit 1
source "generate_gnuplots.sh" || exit 1 source "generate_gnuplots.sh" || exit 1
if ! command -v hey; then if ! command -v hey > /dev/null; then
echo "hey is not present." echo "hey is not present."
exit 1 exit 1
fi fi

Loading…
Cancel
Save