From a8e1a8b86402b1d4cd0ef30fac19b5354cd1592c Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Fri, 5 Apr 2024 14:03:26 +0200 Subject: makefile: use sysctl instead of uname --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index 530e42a..4fc35e7 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!=uname -r | sed 's/\.//' +OPENBSD_VERSION!=sysctl -n kern.version | awk '{ print $$2 }' | sed 's/\.//' | awk NF TLBINPATH!!=which latex 2>/dev/null | sed 's/\/latex$$//' TMPSOURCE?="" UPDATING!=curl -s ${BINREPO}/status.txt | grep updating= | sed 's/.*=//' -- cgit v1.2.3