cmd/formulae.sh: compatibility with GNU Sed

This commit is contained in:
Maxim Belkin 2020-11-30 15:26:39 -06:00 committed by Mike McQuaid
parent 7348bc0ec8
commit ca9ad61dcf
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

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/|/|' \
)"