fixed home expansion in bash quotes

fuck you bash!
This commit is contained in:
Bryan Joshua Pedini 2022-09-18 18:12:06 +02:00
parent 1078366ff5
commit 7433c31699

View File

@ -2,14 +2,14 @@
set -e
# Check for the source server (with default)
DEPLOY_SOURCE_FILE="~/.deploy_source"
DEPLOY_SOURCE_FILE="${HOME}/.deploy_source"
DEPLOY_SOURCE="https://git.bjphoster.com/deployments"
if [ -f "${DEPLOY_SOURCE_FILE}" ]; then
. "${DEPLOY_SOURCE_FILE}"
fi
# Check for the deploy position (with default)
DEPLOY_DESTINATION_FILE="~/.deploy_destination"
DEPLOY_DESTINATION_FILE="${HOME}/.deploy_destination"
DEPLOY_DESTINATION="/opt"
if [ -f "${DEPLOY_DESTINATION_FILE}" ]; then
. "${DEPLOY_DESTINATION_FILE}"