mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-17 10:00:46 -04:00
creature
This commit is contained in:
@@ -11,7 +11,8 @@ if [[ ! -f "$ENV_FILE" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# shellcheck disable=SC1090
|
# shellcheck disable=SC1090
|
||||||
source "$ENV_FILE"
|
# Strip any CRLFs to avoid sourcing a PUBLISH_URL with a stray carriage return in the name.
|
||||||
|
source <(tr -d '\r' < "$ENV_FILE")
|
||||||
PUBLISH_URL="${PUBLISH_URL:-}"
|
PUBLISH_URL="${PUBLISH_URL:-}"
|
||||||
if [[ -z "${PUBLISH_URL}" ]]; then
|
if [[ -z "${PUBLISH_URL}" ]]; then
|
||||||
echo "PUBLISH_URL not set in ${ENV_FILE}; contents:" >&2
|
echo "PUBLISH_URL not set in ${ENV_FILE}; contents:" >&2
|
||||||
|
|||||||
Reference in New Issue
Block a user