diff options
| author | hiddenalpha.ch | 2026-08-29 22:30:52 +0200 |
|---|---|---|
| committer | hiddenalpha.ch | 2026-08-29 22:30:52 +0200 |
| commit | bc42bf28e91116ff9a433bc71a26561b17226752 (patch) | |
| tree | beab82c98c6dd1bef6f37a70a751b8e382c38a1c | |
| parent | 845e872837e78856fef7b07bd70571d99c7298a6 (diff) | |
| download | quotprint-bc42bf28e91116ff9a433bc71a26561b17226752.tar.gz quotprint-bc42bf28e91116ff9a433bc71a26561b17226752.zip | |
Fix typo. Drop superfluous gitinore file
| -rw-r--r-- | .gitignore | 3 | ||||
| -rw-r--r-- | src/quotprint.c | 2 |
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)" \ |
