diff --git a/Makefile b/Makefile index 71b3c7ec..9e760367 100644 --- a/Makefile +++ b/Makefile @@ -76,19 +76,19 @@ set-hmc-version: yq for template in $$TEMPLATE_DIR; do \ if [ $$(yq eval '.kind' $$template) = 'ClusterTemplate' ]; then \ echo $$template; \ - sed -i '' "s/chartVersion:.*[^$$cutversion].*/&-$$cutversion/g" "$$template"; \ + sed -i "s/chartVersion:.*[^$$cutversion].*/&-$$cutversion/g" "$$template"; \ fi; \ done; \ CHART_DIR=$(TEMPLATES_DIR)/cluster/**/Chart.yaml; \ for chart in $$CHART_DIR; do \ echo $$chart; \ - sed -i '' "s/version:.*[^$$cutversion]*./&-$$cutversion/g" "$$chart"; \ + sed -i "s/version:.*[^$$cutversion]*./&-$$cutversion/g" "$$chart"; \ done; \ TEST_RES="test/e2e/managedcluster/resources/*.yaml.tpl"; \ for template in $$TEST_RES; do \ if [ $$(yq eval '.kind' $$template) = 'ManagedCluster' ]; then \ echo $$template; \ - sed -i '' "s/template:.*[^$$cutversion].*/&-$$cutversion/g" "$$template"; \ + sed -i "s/template:.*[^$$cutversion].*/&-$$cutversion/g" "$$template"; \ fi; \ done