Fix brew style on update.sh
This commit is contained in:
parent
07287982f2
commit
02a8de72d6
@ -631,7 +631,7 @@ EOS
|
|||||||
|
|
||||||
# HOMEBREW_UPDATE_FORCE and HOMEBREW_UPDATE_AUTO aren't modified here so ignore subshell warning.
|
# HOMEBREW_UPDATE_FORCE and HOMEBREW_UPDATE_AUTO aren't modified here so ignore subshell warning.
|
||||||
# shellcheck disable=SC2030
|
# shellcheck disable=SC2030
|
||||||
if [[ "${UPSTREAM_REPOSITORY_URL}" =~ https://(([^:@]+)(:([^@]+))?@)?github.com/(.*)$ ]]; \
|
if [[ "${UPSTREAM_REPOSITORY_URL}" =~ https://(([^:@]+)(:([^@]+))?@)?github.com/(.*)$ ]]
|
||||||
then
|
then
|
||||||
UPSTREAM_REPOSITORY="${BASH_REMATCH[5]%.git}"
|
UPSTREAM_REPOSITORY="${BASH_REMATCH[5]%.git}"
|
||||||
# HOMEBREW_GITHUB_API_TOKEN is optionally defined in the user environment.
|
# HOMEBREW_GITHUB_API_TOKEN is optionally defined in the user environment.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user