aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2024-04-05 14:03:26 +0200
committerRobert Alessi <alessi@robertalessi.net>2024-04-05 14:03:26 +0200
commita8e1a8b86402b1d4cd0ef30fac19b5354cd1592c (patch)
tree51776a0b0fca34a0fa63425a05f529d23feae948
parent2a004034496dccc503c15dcc82691bf0448cc559 (diff)
downloadtexlive-openbsd-a8e1a8b86402b1d4cd0ef30fac19b5354cd1592c.tar.gz
makefile: use sysctl instead of uname
-rw-r--r--makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/makefile b/makefile
index 530e42a..4fc35e7 100644
--- a/makefile
+++ b/makefile
@@ -2,7 +2,7 @@ TL_YEAR?=2024
2PREFIX?=/usr/local/texlive/${TL_YEAR}/bin/custom 2PREFIX?=/usr/local/texlive/${TL_YEAR}/bin/custom
3BINREPO=https://www.ekdosis.org/texlive 3BINREPO=https://www.ekdosis.org/texlive
4TMPDIR!=mktemp -d 4TMPDIR!=mktemp -d
5OPENBSD_VERSION!=uname -r | sed 's/\.//' 5OPENBSD_VERSION!=sysctl -n kern.version | awk '{ print $$2 }' | sed 's/\.//' | awk NF
6TLBINPATH!!=which latex 2>/dev/null | sed 's/\/latex$$//' 6TLBINPATH!!=which latex 2>/dev/null | sed 's/\/latex$$//'
7TMPSOURCE?="" 7TMPSOURCE?=""
8UPDATING!=curl -s ${BINREPO}/status.txt | grep updating= | sed 's/.*=//' 8UPDATING!=curl -s ${BINREPO}/status.txt | grep updating= | sed 's/.*=//'