mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-03 12:44:33 +02: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:
@@ -13,7 +13,7 @@ __realpath() {
|
|||||||
|
|
||||||
|
|
||||||
__verbose() {
|
__verbose() {
|
||||||
[ -n "${IDF_EXPORT_QUIET}" ] && return
|
[ -n "${IDF_EXPORT_QUIET-}" ] && return
|
||||||
echo "$@"
|
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
|
# 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}")
|
is_script_dir_esp_idf=$(__is_dir_esp_idf "${script_dir}")
|
||||||
|
|
||||||
if [ -z "${IDF_PATH}" ]
|
if [ -z "${IDF_PATH-}" ]
|
||||||
then
|
then
|
||||||
# IDF_PATH not set in the environment.
|
# IDF_PATH not set in the environment.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user