donate -> docs
This commit is contained in:
@@ -271,10 +271,10 @@ include_questions(){
|
||||
/# Include{resources}/ { for (i=0;i<n;++i) print a[i]; next }
|
||||
1' templates/questions/resources.yaml ${target}/questions.yaml > "tmp${chartname}" && mv "tmp${chartname}" ${target}/questions.yaml
|
||||
|
||||
# Replace # Include{donate} with the standard donate codesnippet
|
||||
# Replace # Include{documentation} with the standard documentation codesnippet
|
||||
awk 'NR==FNR { a[n++]=$0; next }
|
||||
/# Include{donate}/ { for (i=0;i<n;++i) print a[i]; next }
|
||||
1' templates/questions/donate.yaml ${target}/questions.yaml > "tmp${chartname}" && mv "tmp${chartname}" ${target}/questions.yaml
|
||||
/# Include{documentation}/ { for (i=0;i<n;++i) print a[i]; next }
|
||||
1' templates/questions/documentation.yaml ${target}/questions.yaml > "tmp${chartname}" && mv "tmp${chartname}" ${target}/questions.yaml
|
||||
|
||||
}
|
||||
export -f include_questions
|
||||
|
||||
Reference in New Issue
Block a user