fixed destination variable name

This commit is contained in:
Bryan Joshua Pedini 2022-09-18 17:52:05 +02:00
parent 00f677e992
commit 1078366ff5

View File

@ -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