From f8671c8f06ee208239e290f060453dbf53acb32b Mon Sep 17 00:00:00 2001 From: "C. 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