aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rwxr-xr-xaux/workflow/TODOs.sh9
2 files changed, 3 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 580e05c..cd9ecbe 100644
--- a/Makefile
+++ b/Makefile
@@ -35,7 +35,7 @@ favicon.ico: static/lord-favicon.ico
ln -fs static/lord-favicon.ico $@
TODOs.html: TODOs.md
- sh aux/workflow/TODOs.sh -n website -m public-inbox -o .
+ sh aux/workflow/TODOs.sh -n website -m public-inbox > $@
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'