Home
Fix lawn link count. - gopher-lawn - The gopher lawn gopher directory project. HTML git clone git://bitreich.org/gopher-lawn/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/gopher-lawn/ DIR Log DIR Files DIR Refs DIR Tags --- DIR commit dd30c3a05562b2ca640fc70fa9afbe749095d001 DIR parent 4075e3698853bef297e165116be295717ad10882 HTML Author: Christoph Lohmann <20h@r-36.net> Date: Fri, 28 Aug 2020 13:07:48 +0200 Fix lawn link count. Diffstat: M lawn-update | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) --- DIR diff --git a/lawn-update b/lawn-update @@ -1,7 +1,5 @@ #!/bin/sh -set -x - export LANG=en_US.utf8 lawngit="/scm/gopher-lawn" @@ -11,7 +9,7 @@ scmbase="/scm" tmpfile=$(mktemp) cd "${lawnbase}" -linkcount="$(grep --exclude-dir=".git" -r "]" | grep -v "|server|" | wc -l)" +linkcount="$(cd db; grep -r "LinkName" | wc -l)" cd "${lawngit}"