Removed misused and useless cat command

This commit is contained in:
Jocelyn 2024-11-27 18:38:57 +01:00
parent 5794cc38f7
commit d353f2e5e6

View file

@ -12,5 +12,5 @@ for file in $(du -a ../src/ | cut -f2 | grep -E '.md$'); do
export PREFIX=$(realpath --relative-to $(dirname $target) .) export PREFIX=$(realpath --relative-to $(dirname $target) .)
export SIDEBAR=$(for x in ../src/**/*.md; do echo "<li><a href=\"$(echo $PREFIX/$x | source_to_target)\">$(realpath --relative-to ../src/ $x | sed -e 's/.md$//')</a></li>"; done) export SIDEBAR=$(for x in ../src/**/*.md; do echo "<li><a href=\"$(echo $PREFIX/$x | source_to_target)\">$(realpath --relative-to ../src/ $x | sed -e 's/.md$//')</a></li>"; done)
mkdir -p $(dirname $target) mkdir -p $(dirname $target)
cat ../template.tpl | awk -f ../template.awk | bash > $target awk -f ../template.awk ../template.tpl | bash > $target
done done