mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 01:21:20 -04:00
creature
This commit is contained in:
@@ -11,7 +11,8 @@ if [[ ! -f "$ENV_FILE" ]]; then
|
||||
fi
|
||||
|
||||
# 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:-}"
|
||||
if [[ -z "${PUBLISH_URL}" ]]; then
|
||||
echo "PUBLISH_URL not set in ${ENV_FILE}; contents:" >&2
|
||||
|
||||
Reference in New Issue
Block a user