Skip to content

Commit

Permalink
export: avoid error on unbound variable
Browse files Browse the repository at this point in the history
Might stop sourcing export.sh when `set -u` is used (typically with
direnv):
> /path/to/esp-idf/export.sh:16: IDF_EXPORT_QUIET: unbound variable
  • Loading branch information
MarcFinetRtone committed Mar 7, 2023
1 parent acac972 commit 76db9d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion export.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ __realpath() {


__verbose() {
[ -n "${IDF_EXPORT_QUIET}" ] && return
[ -n "${IDF_EXPORT_QUIET-}" ] && return
echo "$@"
}

Expand Down

0 comments on commit 76db9d6

Please sign in to comment.