Skip to content

Commit 6485a51

Browse files
committed
execute the realpath command based on OS environment
1 parent ea29891 commit 6485a51

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

script/bootstrap.sh

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,21 @@ elif [ "$(uname)" = "Darwin" ]; then
113113

114114
## Install packages
115115
brew update
116+
<<<<<<< HEAD
116117
brew install coreutils
117118
brew install readline
118119
brew install cmake
119120
brew install ninja
120121
brew install swig
121122
brew install lcov
123+
=======
124+
brew install coreutils \
125+
readline \
126+
cmake \
127+
ninja \
128+
swig \
129+
lcov && true
130+
>>>>>>> f9ebac8 (execute the realpath command based on OS environment)
122131

123132
brew install llvm@14 && \
124133
sudo ln -s "$(brew --prefix llvm@14)/bin/clang-format" /usr/local/bin/clang-format-14 && \
@@ -133,11 +142,6 @@ elif [ "$(uname)" = "Darwin" ]; then
133142
brew install cmake --HEAD
134143
}
135144

136-
## Install coreutils for realpath
137-
brew install coreutils
138-
139-
brew install ninja
140-
141145
readonly CUR_DIR="$(dirname "$(realpath "$0")")"
142146
else
143147
echo "platform $(uname) is not fully supported"

0 commit comments

Comments
 (0)