Add inline Mac comment

This commit is contained in:
Brandon Kreisel 2015-09-28 17:39:01 -04:00
parent 756cfb75ef
commit b6bbc9e0a2

View file

@ -8,6 +8,7 @@ GOVER=`go version | cut -d" " -f3 | cut -do -f2`
# version comparison
function verlte {
#OS X doesn't support version sorting; emulate with sed
if [ `uname` == 'Darwin' ]; then
[ "$1" = "`echo -e \"$1\n$2\" | sed 's/\b\([0-9]\)\b/0\1/g' \
| sort | sed 's/\b0\([0-9]\)/\1/g' | head -n1`" ]