Skip to content

Commit

Permalink
adding cut to eliminate the patch value
Browse files Browse the repository at this point in the history
  • Loading branch information
cappetta committed Jun 27, 2017
1 parent 47662fc commit 7d6c14f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mac_os_x.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#
set -e

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

#--------------------------------------------------------------------
# Modifiable variables, please set them via environmental variables.
Expand Down

0 comments on commit 7d6c14f

Please sign in to comment.