From 1078366ff543a3d076cb0dabe0f2543c3767e0bd Mon Sep 17 00:00:00 2001 From: Bryan Joshua Pedini Date: Sun, 18 Sep 2022 17:52:05 +0200 Subject: [PATCH] fixed destination variable name --- deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy.sh b/deploy.sh index 96e3a62..9787a55 100755 --- a/deploy.sh +++ b/deploy.sh @@ -11,8 +11,8 @@ fi # Check for the deploy position (with default) DEPLOY_DESTINATION_FILE="~/.deploy_destination" DEPLOY_DESTINATION="/opt" -if [ -f "${DEPLOY_SOURCE_FILE}" ]; then - . "${DEPLOY_SOURCE_FILE}" +if [ -f "${DEPLOY_DESTINATION_FILE}" ]; then + . "${DEPLOY_DESTINATION_FILE}" fi # Check if the correct usage is respected