From 7b40d626fa5c30c86028f504d960df5d8ce82d4f Mon Sep 17 00:00:00 2001 From: Fernando Ripoll Date: Fri, 10 May 2024 14:52:33 +0200 Subject: [PATCH] Fix bug in update helm script main.sh --- scripts/update-helm-chart-reference/main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update-helm-chart-reference/main.sh b/scripts/update-helm-chart-reference/main.sh index 6bbe5546a4..35a06f67a4 100755 --- a/scripts/update-helm-chart-reference/main.sh +++ b/scripts/update-helm-chart-reference/main.sh @@ -15,7 +15,7 @@ docker run --rm \ for file in ${DESTINATION}/*.md; do ## Remove all content before the docs line - sed -i '//,//d' filename + sed -i '//,//d' file # Remove empty lines awk 'NF > 0 || NR == 1 {blank=0} NF == 0 {blank++} blank < 2 {print}' $file > /tmp/_back.md && mv /tmp/_back.md $file # Remove trailing whitespace