From 042e41ec944c81495a5ac1a8a3e69093400f63a0 Mon Sep 17 00:00:00 2001 From: Jason Frey Date: Thu, 15 Aug 2024 16:12:38 -0400 Subject: [PATCH] Make the sed line Mac compatible --- manageiq-operator/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manageiq-operator/Makefile b/manageiq-operator/Makefile index 7a391e08..b30a8ba7 100644 --- a/manageiq-operator/Makefile +++ b/manageiq-operator/Makefile @@ -89,7 +89,7 @@ help: ## Display this help. .PHONY: manifests manifests: controller-gen ## Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects. $(CONTROLLER_GEN) rbac:roleName=manageiq-operator crd webhook paths="./..." output:crd:artifacts:config=config/crd/bases - sed "/creationTimestamp\|namespace/d" config/rbac/role.yaml > config/rbac/role.yaml.new && mv config/rbac/role.yaml{.new,} + sed -E "/creationTimestamp|namespace/d" config/rbac/role.yaml > config/rbac/role.yaml.new && mv config/rbac/role.yaml{.new,} .PHONY: generate generate: controller-gen ## Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations.