diff options
author | EuAndreh <eu@euandre.org> | 2021-06-26 18:15:33 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-06-26 18:17:20 -0300 |
commit | e6510c83a2146436778fbd905bf6597eb187ca4f (patch) | |
tree | b0f0abd1aab262756dfd915e980da8844b7df16d /aux/workflow/commonmark.sh | |
parent | Makefile: Remove fallible/valgrind tests for now (diff) | |
download | remembering-e6510c83a2146436778fbd905bf6597eb187ca4f.tar.gz remembering-e6510c83a2146436778fbd905bf6597eb187ca4f.tar.xz |
Makefile, README.md: Adapt to changes in aux/
Diffstat (limited to 'aux/workflow/commonmark.sh')
-rwxr-xr-x | aux/workflow/commonmark.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/aux/workflow/commonmark.sh b/aux/workflow/commonmark.sh index 6016f51..7267145 100755 --- a/aux/workflow/commonmark.sh +++ b/aux/workflow/commonmark.sh @@ -1,11 +1,10 @@ #!/bin/sh set -eu -mkdir -p public - PROJECT_UC="$1" F="$2" -OUT="${3:-${F%.*}.html}" +OUTDIR="$3" +OUT="${4:-${F%.*}.html}" pandoc \ --toc \ @@ -17,4 +16,4 @@ pandoc \ -r commonmark \ -w html \ -H aux/workflow/favicon.html \ - < "$F" > "public/$OUT" + < "$F" > "$OUTDIR/$OUT" |