mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2024-12-18 05:56:35 +00:00
Do not use backticks - they lead to the script trying to execute the quoted command.
This commit is contained in:
parent
93ed0c4150
commit
4d96b887cb
1 changed files with 2 additions and 2 deletions
|
@ -3,12 +3,12 @@ set -x
|
||||||
set -eo pipefail
|
set -eo pipefail
|
||||||
|
|
||||||
if ! [ -x "$(command -v psql)" ]; then
|
if ! [ -x "$(command -v psql)" ]; then
|
||||||
echo >&2 "Error: `psql` is not installed."
|
echo >&2 "Error: psql is not installed."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! [ -x "$(command -v sqlx)" ]; then
|
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 "Use:"
|
||||||
echo >&2 " cargo install --version=0.5.5 sqlx-cli --no-default-features --features postgres"
|
echo >&2 " cargo install --version=0.5.5 sqlx-cli --no-default-features --features postgres"
|
||||||
echo >&2 "to install it."
|
echo >&2 "to install it."
|
||||||
|
|
Loading…
Reference in a new issue