Simplify variable expansion

This commit is contained in:
Carles Pina i Estany 2022-01-20 23:30:55 +01:00
parent 9077ab5399
commit f5b6d14ea8

View File

@ -13,8 +13,8 @@ USER_EMAIL="$6"
USER_NAME="$7" USER_NAME="$7"
DESTINATION_REPOSITORY_USERNAME="$8" DESTINATION_REPOSITORY_USERNAME="$8"
TARGET_BRANCH="$9" TARGET_BRANCH="$9"
COMMIT_MESSAGE="${10}" COMMIT_MESSAGE="$10"
TARGET_DIRECTORY="${11}" TARGET_DIRECTORY="$11"
if [ -z "$DESTINATION_REPOSITORY_USERNAME" ] if [ -z "$DESTINATION_REPOSITORY_USERNAME" ]
then then