提交 1b70c0b1 编写于 作者: E Emory Barlow

Fix awk to correctly match mojave version

上级 d581fc67
......@@ -3,7 +3,7 @@
VERS=`sw_vers -productVersion | awk '/10\.13\..*/{print $0}'`
if [[ -z "$VERS" ]];
then
VERS=`sw_vers -productVersion | awk '/10\.14\..*/{print $0}'`
VERS=`sw_vers -productVersion | awk '/10\.14.*/{print $0}'`
if [[ -z "$VERS" ]];
then
echo "Error, unsupported OS X version"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册