From b8f1d3f936f369a2f8d8a4b40c765791e40251c9 Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Fri, 26 Apr 2024 11:35:40 +0200 Subject: makefile: use awk only once to get OPENBSD_VERSION --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'makefile') diff --git a/makefile b/makefile index 4fc35e7..1cfe32e 100644 --- a/makefile +++ b/makefile @@ -2,7 +2,7 @@ TL_YEAR?=2024 PREFIX?=/usr/local/texlive/${TL_YEAR}/bin/custom BINREPO=https://www.ekdosis.org/texlive TMPDIR!=mktemp -d -OPENBSD_VERSION!=sysctl -n kern.version | awk '{ print $$2 }' | sed 's/\.//' | awk NF +OPENBSD_VERSION!=sysctl -n kern.version | awk 'FNR == 1 { print $$2 }' | sed 's/\.//' TLBINPATH!!=which latex 2>/dev/null | sed 's/\/latex$$//' TMPSOURCE?="" UPDATING!=curl -s ${BINREPO}/status.txt | grep updating= | sed 's/.*=//' -- cgit v1.2.3