Skip to content

fix(mac-os): tag extraction for latest release in install.sh#406

Open
alessandromazza98 wants to merge 1 commit intoflashbots:mainfrom
alessandromazza98:patch-2
Open

fix(mac-os): tag extraction for latest release in install.sh#406
alessandromazza98 wants to merge 1 commit intoflashbots:mainfrom
alessandromazza98:patch-2

Conversation

@alessandromazza98
Copy link
Copy Markdown

Running the suggested install command in mac os gives this error:

❯ curl -sSfL https://raw.githubusercontent.com/flashbots/builder-playground/main/install.sh | bash
Fetching latest release...
grep: invalid option -- P
usage: grep [-abcdDEFGHhIiJLlMmnOopqRSsUVvwXxZz] [-A num] [-B num] [-C[num]]
        [-e pattern] [-f file] [--binary-files=value] [--color=when]
        [--context[=num]] [--directories=action] [--label] [--line-buffered]
        [--null] [pattern] [file ...]

This PR addresses this problem by removing the -P problematic flag with sed. This will keep compatibility with linux too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant