Fix handling of 3-component OS version numbers.
authorGuy Harris <guy@alum.mit.edu>
Sat, 20 Dec 2014 17:47:01 +0000 (09:47 -0800)
committerGuy Harris <guy@alum.mit.edu>
Sat, 20 Dec 2014 17:47:50 +0000 (17:47 +0000)
commitabd90c32bbba16d848905b15f2b6ccfc353c8e41
tree6b91579698592e8527abac71abe4873a6b57d4fe
parent9ba9cd83a4f72339b15aebbc1fbdde32f08ef3bc
Fix handling of 3-component OS version numbers.

Get rid of doubled square brackets (what were those for?), and match
dots in the version number with "\.", so we only match dots.

This fixes the handling of version numbers such as 10.10.1.

(A 2-component version number doesn't match, but that's OK - the sed
command doesn't use -n, so that just means it's unchanged by the
command.)

Change-Id: I3046133de732c80410592272d1f7b961a64d9289
Reviewed-on: https://code.wireshark.org/review/5915
Reviewed-by: Guy Harris <guy@alum.mit.edu>
macosx-setup.sh