You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 21, 2020. It is now read-only.
Apparently the syntax used for sed commands is specific to the GNU sed and fails for macOS’s built-in sed:
$ ./stack.sh php_switch
[?] Which PHP version do you want to use? 5.4, [5.6], 7 or 7.1:
sed: 1: "docker-compose.config.sh": extra characters at the end of d command
sed: 1: "docker-compose.config.sh": extra characters at the end of d command
Selected php56 as PHP version
(Despite the message, the docker-compose.config.sh is not updated.)
I was able to work around this issue by installing gnu-sed with Homebrew:
$ brew install gnu-sed --with-default-names
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Apparently the syntax used for
sed
commands is specific to the GNUsed
and fails for macOS’s built-insed
:(Despite the message, the docker-compose.config.sh is not updated.)
I was able to work around this issue by installing
gnu-sed
with Homebrew:The text was updated successfully, but these errors were encountered: