From f5b6d14ea883bde23eefd9ab1bb44227511a37ec Mon Sep 17 00:00:00 2001 From: Carles Pina i Estany Date: Thu, 20 Jan 2022 23:30:55 +0100 Subject: [PATCH] Simplify variable expansion --- entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 50f1497..94b37e9 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -13,8 +13,8 @@ USER_EMAIL="$6" USER_NAME="$7" DESTINATION_REPOSITORY_USERNAME="$8" TARGET_BRANCH="$9" -COMMIT_MESSAGE="${10}" -TARGET_DIRECTORY="${11}" +COMMIT_MESSAGE="$10" +TARGET_DIRECTORY="$11" if [ -z "$DESTINATION_REPOSITORY_USERNAME" ] then