From a967690d938d7a5d4dc017c1a27813d9559c593e Mon Sep 17 00:00:00 2001 From: Luca Palmieri Date: Tue, 28 Dec 2021 12:18:38 +0100 Subject: [PATCH] Do not use backticks - they lead to the script trying to execute the quoted command. --- scripts/init_db.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/init_db.sh b/scripts/init_db.sh index bfb940d..7c3373c 100755 --- a/scripts/init_db.sh +++ b/scripts/init_db.sh @@ -3,12 +3,12 @@ set -x set -eo pipefail if ! [ -x "$(command -v psql)" ]; then - echo >&2 "Error: `psql` is not installed." + echo >&2 "Error: psql is not installed." exit 1 fi if ! [ -x "$(command -v sqlx)" ]; then - echo >&2 "Error: `sqlx` is not installed." + echo >&2 "Error: sqlx is not installed." echo >&2 "Use:" echo >&2 " cargo install --version=0.5.5 sqlx-cli --no-default-features --features postgres" echo >&2 "to install it."