diff options
author | EuAndreh <eu@euandre.org> | 2021-06-23 08:07:14 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-06-23 08:07:14 -0300 |
commit | 57335b3e7c4c9e91c5747778180d611e5f15d144 (patch) | |
tree | 4b3892bb4d46a4f3bdde2a31eb1980f795db9378 /aux/workflow/TODOs.sh | |
parent | aux/workflow/assert-readme.sh: No need to create the public/ directory (diff) | |
download | git-permalink-57335b3e7c4c9e91c5747778180d611e5f15d144.tar.gz git-permalink-57335b3e7c4c9e91c5747778180d611e5f15d144.tar.xz |
aux/: Explicitly pass "public/" as a parameter to scripts
Diffstat (limited to 'aux/workflow/TODOs.sh')
-rwxr-xr-x | aux/workflow/TODOs.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/aux/workflow/TODOs.sh b/aux/workflow/TODOs.sh index 160e76f..f93ece8 100755 --- a/aux/workflow/TODOs.sh +++ b/aux/workflow/TODOs.sh @@ -1,11 +1,10 @@ #!/bin/sh set -eu -mkdir -p public - PROJECT_UC="$1" PROJECT="$2" MAILING_LIST="$3" +OUTDIR="$4" TLD="$(cat aux/tld.txt)" TODOS_ADD_REGEX='s/^## (TODO|DOING|WAITING|MEETING|INACTIVE|NEXT|CANCELLED|DONE) (.*) \{#(.*?)\}$/## <a href="#\3"><span class="\1">\1<\/span> \2<\/a>\n<pre class="header-anchor" id="\3">#\3<\/pre>\n/' @@ -37,4 +36,4 @@ sed -e "s:@PROJECT_UC@:$PROJECT_UC:g" \ | \ perl -pe "$TODOS_CLEANUP_REGEX1" | \ perl -pe "$TODOS_CLEANUP_REGEX2" \ - > public/TODOs.html + > "$OUTDIR/TODOs.html" |