From 9404c33dabbc34c663efe817420ae0e6d5ed1ad1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Galv=C3=A3o?= Date: Mon, 13 Jun 2016 20:36:20 +0100 Subject: [PATCH] developer scripts: OS X > macOS --- developer/bin/generate_cask_token | 4 ++-- developer/bin/list_url_attributes_on_file | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/developer/bin/generate_cask_token b/developer/bin/generate_cask_token index 08eeb4310a..4584074c18 100755 --- a/developer/bin/generate_cask_token +++ b/developer/bin/generate_cask_token @@ -78,8 +78,8 @@ REMOVE_TRAILING_PATS = [ %r{\bapp}i, %r{\b(?:quick[\s-]*)?launcher}i, - # "mac", "for mac", "for OS X". - %r{\b(?:for)?[\s-]*mac(?:intosh)?}i, + # "mac", "for mac", "for OS X", "macOS", "for macOS". + %r{\b(?:for)?[\s-]*mac(?:intosh|OS)?}i, %r{\b(?:for)?[\s-]*os[\s-]*x}i, # hardware designations such as "for x86", "32-bit", "ppc" diff --git a/developer/bin/list_url_attributes_on_file b/developer/bin/list_url_attributes_on_file index 055fddc6c4..e594976560 100755 --- a/developer/bin/list_url_attributes_on_file +++ b/developer/bin/list_url_attributes_on_file @@ -61,7 +61,7 @@ _list_url_attributes_on_file () { if [[ $1 =~ ^-+h(elp)?$ || -z "$1" ]]; then printf "list_url_attributes_on_file -Given a downloaded file, extract possible sources from OS X extended +Given a downloaded file, extract possible sources from macOS extended attributes, which may be useful in a Cask url stanza. Currently the only attribute examined is