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
commite6a627b505051fcb1aa4506c78e6d848de941cba (patch)
treeb12e2ff5f21d8691b9f6568a5595da4d411fdfae
parentAdd -Wint-conversion tweet (diff)
downloadsrc-e6a627b505051fcb1aa4506c78e6d848de941cba.tar.gz
src-e6a627b505051fcb1aa4506c78e6d848de941cba.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.
Diffstat (limited to '')
-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"
 		;;