mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'contrib/github_pr_10935_v5.0' into 'release/v5.0'
export: avoid error on unbound variable (GitHub PR) (v5.0) See merge request espressif/esp-idf!22820
This commit is contained in:
commit
58f24af363
@ -13,7 +13,7 @@ __realpath() {
|
||||
|
||||
|
||||
__verbose() {
|
||||
[ -n "${IDF_EXPORT_QUIET}" ] && return
|
||||
[ -n "${IDF_EXPORT_QUIET-}" ] && return
|
||||
echo "$@"
|
||||
}
|
||||
|
||||
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user