aboutsummaryrefslogtreecommitdiff
path: root/src/development
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-06-03 21:40:00 -0300
committerEuAndreh <eu@euandre.org>2022-06-03 21:40:00 -0300
commit495ffa79ed9a3bf2cd38c810a445a2856e7ad885 (patch)
treec1f625dd5e0af8ace9cfd7375679f90e9c7aa102 /src/development
parentsrc/development/genhtml.sh: escape() _() strings by default (diff)
downloadeuandre.org-495ffa79ed9a3bf2cd38c810a445a2856e7ad885.tar.gz
euandre.org-495ffa79ed9a3bf2cd38c810a445a2856e7ad885.tar.xz
src/development/genhtml.sh: Derive $HTML variable from $MD
Diffstat (limited to 'src/development')
-rwxr-xr-xsrc/development/genhtml.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/development/genhtml.sh b/src/development/genhtml.sh
index d7f9edf..d48df68 100755
--- a/src/development/genhtml.sh
+++ b/src/development/genhtml.sh
@@ -2,6 +2,7 @@
set -eu
MD="$1"
+HTML="$(dirname "$MD")/$(basename "$MD" .md).html"
escape() {
sed 's/a/a/'