Fix syntax and naming error
This commit is contained in:
committed by
T. R. Bernstein
parent
99236a577b
commit
6461d6143f
@@ -11,7 +11,7 @@ function majorMinor() {
|
||||
|
||||
function shouldInstallCommandLineTools() {
|
||||
local macosVersion=$(majorMinor $(/usr/bin/sw_vers -productVersion))
|
||||
if version_gt "${macosVersion}" "10.13"
|
||||
if versionGT "${macosVersion}" "10.13"
|
||||
then
|
||||
! [[ -e "/Library/Developer/CommandLineTools/usr/bin/git" ]]
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user