From e6a627b505051fcb1aa4506c78e6d848de941cba Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Sun, 17 Jan 2021 06:00:48 +0000 Subject: 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. --- www/git.causal.agency/source-filter.sh | 1 + 1 file changed, 1 insertion(+) 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" ;; -- cgit 1.4.1