diff options
author | EuAndreh <eu@euandre.org> | 2022-06-03 21:37:28 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2022-06-03 21:37:30 -0300 |
commit | 6080ebcdf6069558a629732a1c75e1197b25b228 (patch) | |
tree | 491b9fe5a3d08cc068acbe51f9b033c6a81fce42 /aux/workflow | |
parent | Makefile: Indent $(derived-assets) variable (diff) | |
download | euandre.org-6080ebcdf6069558a629732a1c75e1197b25b228.tar.gz euandre.org-6080ebcdf6069558a629732a1c75e1197b25b228.tar.xz |
aux/workflow/TODOs.sh: Emit HTML to STDOUT; amend Makefile
Diffstat (limited to '')
-rwxr-xr-x | aux/workflow/TODOs.sh | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/aux/workflow/TODOs.sh b/aux/workflow/TODOs.sh index 05cf3cb..8bba1ec 100755 --- a/aux/workflow/TODOs.sh +++ b/aux/workflow/TODOs.sh @@ -3,7 +3,7 @@ set -eu TLD="$(cat aux/tld.txt)" PROJECT_UC= -while getopts 'n:N:m:o:' flag; do +while getopts 'n:N:m:' flag; do case "$flag" in n) PROJECT="$OPTARG" @@ -14,9 +14,6 @@ while getopts 'n:N:m:o:' flag; do m) MAILING_LIST="$OPTARG" ;; - o) - OUTDIR="$OPTARG" - ;; *) exit 2 ;; @@ -33,7 +30,6 @@ assert_arg() { assert_arg "${PROJECT:-}" '-n PROJECT' assert_arg "${MAILING_LIST:-}" '-m MAILING_LIST' -assert_arg "${OUTDIR:-}" '-o OUTDIR' if [ -z "${PROJECT_UC:-}" ]; then PROJECT_UC="$PROJECT" @@ -60,5 +56,4 @@ td -H | -H aux/workflow/style.css | sed \ -e 's:<a><a:<a:g' \ - -e 's:</a></a>:</a>:g' \ - > "$OUTDIR/TODOs.html" + -e 's:</a></a>:</a>:g' |