[NEW] scripts: They make the Makefile go
This commit is contained in:
parent
b3fad81506
commit
f6b1f4c14a
3 changed files with 33 additions and 0 deletions
8
scripts/indicators
Executable file
8
scripts/indicators
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
pushd blog
|
||||
for post in *.md; do
|
||||
ind_name=$(sed 's/\.md$/.indicator.html/' <<<"$post")
|
||||
[ ! -a "$ind_name" ] && ln -s ../blog.indicator.html "$ind_name"
|
||||
done
|
||||
popd # blog
|
||||
Loading…
Add table
Add a link
Reference in a new issue