summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-01-17 06:00:48 +0000
committerJune McEnroe <june@causal.agency>2021-01-17 06:01:49 +0000
commitf8671c8f06ee208239e290f060453dbf53acb32b (patch)
treef6ecfbd8e9ce762431c6da0fffec19ee451a70dc
parentAdd -Wint-conversion tweet (diff)
downloadsrc-f8671c8f06ee208239e290f060453dbf53acb32b.tar.gz
src-f8671c8f06ee208239e290f060453dbf53acb32b.zip
Touch tags in source-filter
ctags does not create the tags file if the input file contains nothing
worth tagging, and htagml errors if there is no tags file to load.
-rw-r--r--www/git.causal.agency/source-filter.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/www/git.causal.agency/source-filter.sh b/www/git.causal.agency/source-filter.sh
index 9f150e78..be04e0c1 100644
--- a/www/git.causal.agency/source-filter.sh
+++ b/www/git.causal.agency/source-filter.sh
@@ -11,6 +11,7 @@ case "$1" in
 		trap 'rm -fr "${tmp}"' EXIT
 		cd "${tmp}"
 		cat >"$1"
+		touch tags
 		$ctags -w "$1"
 		$hilex -f html "$1" | $htagml -i "$1"
 		;;