mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'pull12247' into 'master'
feat(tools): keep export.sh compatible with BourneShell Closes IDFGH-11073 See merge request espressif/esp-idf!26303
This commit is contained in:
commit
0c2decc3be
@ -19,7 +19,7 @@ __verbose() {
|
||||
|
||||
__script_dir(){
|
||||
# shellcheck disable=SC2169,SC2169,SC2039,SC3010,SC3028 # unreachable with 'dash'
|
||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
if [ "$(uname -s)" = "Darwin" ]; then
|
||||
# convert possibly relative path to absolute
|
||||
script_dir="$(__realpath "${self_path}")"
|
||||
# resolve any ../ references to make the path shorter
|
||||
|
Loading…
Reference in New Issue
Block a user