mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-29 06:35:39 -04:00
fix for xcode cli only install
This commit is contained in:
parent
13f9fce6c1
commit
bb7eb3adc4
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue