mirror of
https://github.com/espressif/openthread.git
synced 2026-08-06 10:47:46 +00:00
[script] let alias to take effect (#4708)
This commit is contained in:
@@ -34,6 +34,10 @@ die() {
|
||||
exit 1
|
||||
}
|
||||
|
||||
# Aliases are not expanded when the shell is not interactive, unless the
|
||||
# expand_aliases shell option is set using shopt.
|
||||
shopt -s expand_aliases
|
||||
|
||||
if command -v clang-format-6.0 > /dev/null; then
|
||||
alias clang-format=clang-format-6.0
|
||||
elif command -v clang-format > /dev/null; then
|
||||
|
||||
Reference in New Issue
Block a user