Removed misused and useless cat command
This commit is contained in:
parent
5794cc38f7
commit
d353f2e5e6
1 changed files with 1 additions and 1 deletions
2
build.sh
2
build.sh
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue