We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
gnu-sed
1 parent 569f3f7 commit 6ef2447Copy full SHA for 6ef2447
Makefile
@@ -175,8 +175,16 @@ souffle:
175
.PHONY: gnu-sed
176
gnu-sed:
177
if [ "$(OS_DISTRO)" == "Darwin" ]; then \
178
- brew install gnu-sed; \
179
- fi
+ if ! command -v gsed; then \
+ if command -v brew; then \
180
+ brew install gnu-sed; \
181
+ elif command -v port; then \
182
+ sudo port install gsed; \
183
+ else \
184
+ echo "Unable to install GNU sed on macOS. Please install it manually." && exit 1; \
185
+ fi; \
186
187
+ fi;
188
189
# Install or upgrade an existing virtual environment based on the
190
# package dependencies declared in pyproject.toml.
0 commit comments