Skip to content

Commit a6a8714

Browse files
authored
Allow deploy with env variable
1 parent c5bcf6d commit a6a8714

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ TARGET="all"
1414
BUILD_TYPE="all"
1515
SKIP_ENV=0
1616
COPY_OUT=0
17-
DEPLOY_OUT=0
17+
if [ -z $DEPLOY_OUT ]; then
18+
DEPLOY_OUT=0
19+
fi
1820

1921
function print_help() {
2022
echo "Usage: build.sh [-s] [-A <arduino_branch>] [-I <idf_branch>] [-i <idf_commit>] [-c <path>] [-t <target>] [-b <build|menuconfig|idf_libs|copy_bootloader|mem_variant>] [config ...]"

0 commit comments

Comments
 (0)