From 2bf2a262401d0033b3ede0a89f9cf3d1d30b129b Mon Sep 17 00:00:00 2001 From: "edoardo.apra@pnnl.gov" Date: Tue, 16 Jan 2024 14:38:46 -0800 Subject: [PATCH] fix for xcode cli only install --- src/config/fix_xcode15.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/fix_xcode15.sh b/src/config/fix_xcode15.sh index ca024a6a93..01eabf579b 100755 --- a/src/config/fix_xcode15.sh +++ b/src/config/fix_xcode15.sh @@ -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