diff options
| author | EuAndreh <eu@euandre.org> | 2021-06-24 11:18:40 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2021-06-24 11:18:40 -0300 |
| commit | 2539cf045c79ae1ebddccba7f887040d10e6ec1f (patch) | |
| tree | 72f8f153f0880a98c4aa335e108be0c995b5b103 /aux/workflow/commonmark.sh | |
| parent | dependencies.dot: Songbooks could make money (diff) | |
| download | packages-2539cf045c79ae1ebddccba7f887040d10e6ec1f.tar.gz packages-2539cf045c79ae1ebddccba7f887040d10e6ec1f.tar.xz | |
aux/: Update
Diffstat (limited to '')
| -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" |
