mirror of
https://github.com/espressif/openthread.git
synced 2026-06-06 05:24:51 +00:00
[bootstrap] fix pretty format install (#6066)
This commit is contained in:
+2
-4
@@ -33,7 +33,7 @@
|
||||
|
||||
set -euxo pipefail
|
||||
|
||||
install_packages_apt_pretty_format()
|
||||
install_packages_pretty_format()
|
||||
{
|
||||
echo 'Installing pretty tools useful for code contributions...'
|
||||
|
||||
@@ -74,7 +74,7 @@ install_packages_apt()
|
||||
fi
|
||||
|
||||
if [ "$PLATFORM" != "Raspbian" ]; then
|
||||
install_packages_apt_pretty_format
|
||||
install_packages_pretty_format
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -136,8 +136,6 @@ install_packages()
|
||||
PM=opkg
|
||||
elif command -v brew; then
|
||||
PM=brew
|
||||
elif command -v pretty-format; then
|
||||
PM=apt-pretty-format
|
||||
fi
|
||||
install_packages_$PM
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user