From bc42bf28e91116ff9a433bc71a26561b17226752 Mon Sep 17 00:00:00 2001 From: hiddenalpha.ch Date: Sat, 29 Aug 2026 22:30:52 +0200 Subject: Fix typo. Drop superfluous gitinore file --- .gitignore | 3 --- src/quotprint.c | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) delete mode 100644 .gitignore diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 5bfdd12..0000000 --- a/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -Makefile -build -.gdb_history diff --git a/src/quotprint.c b/src/quotprint.c index 3b649e7..2799b82 100644 --- a/src/quotprint.c +++ b/src/quotprint.c @@ -28,7 +28,7 @@ do && tag="$(git tag|grep -E '^v'|sed -E 's,^v,,'|sort -V|tail -n1)" \ && cnt="$(git rev-list --count "v${tag:?}"..HEAD)" \ && hsh="$(git rev-parse --short HEAD)" \ - && if test -n "$tag" -a -n "$cnt" -a -n "$hsh" ;then \ + && if test -n "$tag" -a -n "$cnt" -a -n "$hsh" ;then true \ && PROJECT_VERSION="${tag:?}-${cnt:?}-g${hsh:?}" \ ;else true \ && PROJECT_VERSION="$(date -u +0.0.0-%Y%m%d.%H%M%S)" \ -- cgit v1.3.1