zygo

ncurses gopher client
Log | Files | Refs

commit 7903c00dc577955963aeeea31aaaadd087479f53
parent d7221fdbfa4be999fb79dc625c39476e09c5b517
Author: hhvn <dev@hhvn.uk>
Date:   Sat, 25 Jun 2022 18:28:35 +0100

Fix commit extraction during installation

Diffstat:
MMakefile | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -21,7 +21,7 @@ BIN = zygo MAN = zygo.1 SRC += zygo.c OBJ = $(SRC:.c=.o) -COMMIT = $(shell git log HEAD...HEAD~1 --pretty=format:%h) +COMMIT = $(shell grep -oE '^.{7}' < .git/refs/heads/master) LDFLAGS = -lncursesw CFLAGS = -DCOMMIT=\"$(COMMIT)\"