From 85278e9a77869b3f8cefff4f844ebf99bbec50e2 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten-Lebbing Date: Fri, 12 Aug 2022 12:58:53 +0200 Subject: [PATCH] Update build-catalog.sh Signed-off-by: Kjeld Schouten-Lebbing --- .github/scripts/build-catalog.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/scripts/build-catalog.sh b/.github/scripts/build-catalog.sh index 56ecd789b71..e6d4a0cccdf 100755 --- a/.github/scripts/build-catalog.sh +++ b/.github/scripts/build-catalog.sh @@ -271,6 +271,11 @@ include_questions(){ /# Include{resources}/ { for (i=0;i "tmp${chartname}" && mv "tmp${chartname}" ${target}/questions.yaml + # Replace # Include{donate} with the standard donate codesnippet + awk 'NR==FNR { a[n++]=$0; next } + /# Include{donate}/ { for (i=0;i "tmp${chartname}" && mv "tmp${chartname}" ${target}/questions.yaml + } export -f include_questions