Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

export: avoid error on unbound variable (IDFGH-9586) #10935

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions 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 Expand Up @@ -72,7 +72,7 @@ __main() {
# Since sh or dash shells can't detect script_dir correctly, check if script_dir looks like an IDF directory
is_script_dir_esp_idf=$(__is_dir_esp_idf "${script_dir}")

if [ -z "${IDF_PATH}" ]
if [ -z "${IDF_PATH-}" ]
then
# IDF_PATH not set in the environment.

Expand Down