From 04f93bed1f4f36769be67234bc8e5500142da868 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Thu, 7 Sep 2023 19:51:12 -0600 Subject: [PATCH] Update entrypoint.sh --- entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 05d0772..dbab0e2 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -20,7 +20,7 @@ if [[ -n "$INPUT_POSTGRESQL_VERSION" ]]; then fi # Check if the input is between 10 and 15 (inclusive) - if (( $INPUT_POSTGRESQL_VERSION < 10 || $INPUT_POSTGRESQL_VERSION > 15 )); then + if (( INPUT_POSTGRESQL_VERSION < 10 || INPUT_POSTGRESQL_VERSION > 15 )); then echo "Error: $INPUT_POSTGRESQL_VERSION is not between 10 and 15 (inclusive)." exit 1 fi @@ -58,4 +58,4 @@ pg_dump $INPUT_OPTIONS -d "$INPUT_DATABASE_URL" > "$INPUT_PATH" echo "Complete" -echo "::endgroup::" \ No newline at end of file +echo "::endgroup::"