Skip to content

Commit

Permalink
fix for xcode cli only install
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] authored and edoapra committed Feb 17, 2024
1 parent 5d98285 commit 2bf2a26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/fix_xcode15.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
if [[ $(uname -s) == "Darwin" ]]; then
xcode_v=$(/usr/bin/xcodebuild -version |head -n1 |cut -d ' ' -f 2|cut -d '.' -f 1)
xcode_v=$(clang --version|head -1 |cut -d ' ' -f 4 |cut -d . -f 1)
# echo $xcode_v
if [[ $( [ $xcode_v -ge 15 ] && echo 1) ]] ; then
echo got xcode15
Expand Down

0 comments on commit 2bf2a26

Please sign in to comment.