refactor(tools): shellcheck pass modification

Closes https://github.com/espressif/esp-idf/pull/12247
pull/9673/merge
Marek Fiala 2023-10-03 13:35:06 +02:00
rodzic c4da3d4d32
commit addbc79ee7
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -19,7 +19,7 @@ __verbose() {
__script_dir(){
# shellcheck disable=SC2169,SC2169,SC2039,SC3010,SC3028 # unreachable with 'dash'
if [ `uname -s` = "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