Skip to content

Commit 3ef1f6d

Browse files
authored
Prevent install with non-GNU sed (#329)
* Prevent install with non-GNU sed * Add new line * Fix typo
1 parent d0b8ada commit 3ef1f6d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@
66
install-litmus \
77
install-prometheus
88

9-
# Deploys the partner and test pods and the operator
9+
# Deploys the partner and test pods and the operator. GNU sed is required.
10+
# MacOS has FreeBSD sed by default, which fails on --version.
1011
install:
12+
sed --version >/dev/null 2>&1 || { printf >&2 'Install GNU sed.\n'; exit 1; }
1113
./scripts/fix-node-labels.sh
1214
./scripts/deploy-multus-network.sh
1315
./scripts/deploy-resource-quota.sh

0 commit comments

Comments
 (0)