Skip to content

Commit 7d6c14f

Browse files
committed
adding cut to eliminate the patch value
1 parent 47662fc commit 7d6c14f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mac_os_x.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#
99
set -e
1010

11-
OSX_VERSION=$(sw_vers | grep -i productversion| awk '{print $2}')
11+
OSX_VERSION=$(sw_vers | grep -i productversion| awk '{print $2}' | cut -f1,2 -d'.')
1212

1313
#--------------------------------------------------------------------
1414
# Modifiable variables, please set them via environmental variables.

0 commit comments

Comments
 (0)