Skip to content

Commit

Permalink
execute the realpath command based on OS environment
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhangLe2016 committed Dec 4, 2024
1 parent c5cd580 commit 3f374fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions script/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ elif [ "$(uname)" = "Darwin" ]; then
## Install coreutils for realpath
brew install coreutils

brew install ninja

readonly CUR_DIR="$(dirname "$(realpath "$0")")"
else
echo "platform $(uname) is not fully supported"
Expand Down

0 comments on commit 3f374fe

Please sign in to comment.