From a8442356cd26f2396c7d937418432362c1b8aee7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Mon, 25 May 2020 13:55:24 +0300 Subject: [PATCH] slightly shorter awk script --- II/Referatas/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/II/Referatas/Makefile b/II/Referatas/Makefile index e68d180..7e69257 100644 --- a/II/Referatas/Makefile +++ b/II/Referatas/Makefile @@ -29,7 +29,7 @@ db/.faux_ready: zeimena.gpkg managedb touch $@ REF = $(shell git describe --tags) -DIRTY = $(shell git status --porcelain | awk 'NR==1{print "-dirty";exit}') +DIRTY = $(shell git status --porcelain | awk '{print"-dirty";exit}') GIT_DIR = $(shell git rev-parse --show-toplevel)/.git version.tex: $(shell git ls-files .) $(GIT_DIR) ( \