From b38ce202e8de807976440f5b1134f028736bb612 Mon Sep 17 00:00:00 2001 From: hiddenalpha.ch Date: Sun, 30 Aug 2026 00:13:35 +0200 Subject: Fix build instructions --- src/bulk_ln.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/bulk_ln.c b/src/bulk_ln.c index f3cda22..a954100 100644 --- a/src/bulk_ln.c +++ b/src/bulk_ln.c @@ -29,7 +29,7 @@ do \ && if test -z "$PROJECT_VERSION" ;then true \ && tag="$(git tag|grep -E '^v'|sed -E 's,^v,,'|sort -V|tail -n1)" \ - && cnt="$(git rev-list --count "v${tag:?}"..HEAD)" \ + && cnt="$(git rev-list --count "v${tag?}"..HEAD 2>/dev/null||true)" \ && hsh="$(git rev-parse --short HEAD)" \ && if test -n "$tag" -a -n "$cnt" -a -n "$hsh" ;then true \ && PROJECT_VERSION="${tag:?}-${cnt:?}-g${hsh:?}" \ -- cgit v1.3.1