Skip to content

Commit 35183e8

Browse files
committed
[build images]
1 parent 3a1061e commit 35183e8

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

scripts/bootstrap.sh

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -836,8 +836,7 @@ install_nodejs() {
836836
;;
837837
esac
838838

839-
if [ "$os" = "freebsd" ]
840-
then
839+
if [ "$os" = "freebsd" ]; then
841840
# TODO: use nodejs_version_exact
842841
install_packages "www/node$(nodejs_version)" "www/npm-node$(nodejs_version)"
843842
return
@@ -932,8 +931,7 @@ install_nodejs() {
932931
}
933932

934933
install_nodejs_headers() {
935-
if [ "$os" = "freebsd" ]
936-
then
934+
if [ "$os" = "freebsd" ]; then
937935
return
938936
fi
939937

@@ -951,8 +949,7 @@ install_nodejs_headers() {
951949
}
952950

953951
setup_node_gyp_cache() {
954-
if [ "$os" = "freebsd" ]
955-
then
952+
if [ "$os" = "freebsd" ]; then
956953
return
957954
fi
958955

@@ -994,8 +991,7 @@ bun_version_exact() {
994991
}
995992

996993
install_bun() {
997-
if [ "$os" = "freebsd" ]
998-
then
994+
if [ "$os" = "freebsd" ]; then
999995
# TODO: need to complete bun bootstrap for for this work
1000996
return
1001997
fi
@@ -1187,8 +1183,7 @@ install_llvm() {
11871183
}
11881184

11891185
install_gcc() {
1190-
if ! [ "$os" = "linux" ] || ! [ "$distro" = "ubuntu" ] || [ -z "$gcc_version" ]
1191-
then
1186+
if ! [ "$os" = "linux" ] || ! [ "$distro" = "ubuntu" ] || [ -z "$gcc_version" ]; then
11921187
return
11931188
fi
11941189

0 commit comments

Comments
 (0)