Merge pull request #9354 from maxim-belkin/gnu-sed-compatible-formulae

cmd/formulae.sh: compatibility with GNU Sed
This commit is contained in:
Mike McQuaid 2020-12-01 12:41:54 +00:00 committed by GitHub
commit e6a53f4349
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ homebrew-formulae() {
-name vendor \
\) \
-prune -false -o -name '*\.rb' | \
sed -E -e 's/\.rb//g' \
sed -r -e 's/\.rb//g' \
-e 's_.*/Taps/(.*)/(home|linux)brew-_\1/_' \
-e 's|/Formula/|/|' \
)"