mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
export.sh: fix undefined reference to realpath after renaming
This commit is contained in:
parent
94f4cfe99b
commit
2c375458ab
@ -52,7 +52,7 @@ __main() {
|
|||||||
# shellcheck disable=SC2169,SC2169,SC2039 # unreachable with 'dash'
|
# shellcheck disable=SC2169,SC2169,SC2039 # unreachable with 'dash'
|
||||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||||
# convert possibly relative path to absolute
|
# convert possibly relative path to absolute
|
||||||
script_dir="$(realpath_int "${self_path}")"
|
script_dir="$(__realpath "${self_path}")"
|
||||||
# resolve any ../ references to make the path shorter
|
# resolve any ../ references to make the path shorter
|
||||||
script_dir="$(cd "${script_dir}" || exit 1; pwd)"
|
script_dir="$(cd "${script_dir}" || exit 1; pwd)"
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user