summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore3
-rw-r--r--src/quotprint.c2
2 files changed, 1 insertions, 4 deletions
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)" \