Skip to content

Commit 33e05ee

Browse files
authored
build: make ENVF overridable in ota-release.sh (per-process env for parallel multi-node flashing) (#105)
Assisted-by: AI
1 parent 57ddbd3 commit 33e05ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

firmware/scripts/ota-release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ set -euo pipefail
2222

2323
HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
2424
REPO="$(cd "$HERE/../.." && pwd)"
25-
ENVF="$HERE/ota-release.env"
25+
ENVF="${ENVF:-$HERE/ota-release.env}"
2626
# shellcheck source=firmware/scripts/sync-files.sh
2727
. "$HERE/sync-files.sh" # SYNC_FILES{,_REQUIRED,_OPTIONAL}: the set copied into the SDK example
2828
say() { printf '\033[1;36m[ota-release]\033[0m %s\n' "$*"; }

0 commit comments

Comments
 (0)