now notes are called notes =)

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2024-01-18 03:33:00 +03:00
parent 709673d5d6
commit 9402c413da
2 changed files with 4 additions and 4 deletions

View File

@ -493,7 +493,7 @@ readVars(){
# buildAssets [VAR ..]
#
# XXX revise: SKIP handling...
README=README.md
NOTES=NOTES.md
buildAssets(){
local template_dir=${TEMPLATE_DIR:-templates}
local assets_dir=${ASSETS_DIR:-assets}
@ -565,10 +565,10 @@ buildAssets(){
| eval "sed ${PATTERNS[@]}" \
> "${assets_dir}/${file}"
done
# special case: README.md...
if [ -z "$DESCRIPTION" ] && [ -e "$README" ] ; then
# special case: NOTES.md...
if [ -z "$DESCRIPTION" ] && [ -e "$NOTES" ] ; then
DESCRIPTION="$(\
cat ${README} \
cat ${NOTES} \
| eval "sed ${PATTERNS[@]}")"
fi
}