diff options
author | Robert Alessi <alessi@robertalessi.net> | 2024-04-05 14:03:26 +0200 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2024-04-05 14:03:26 +0200 |
commit | a8e1a8b86402b1d4cd0ef30fac19b5354cd1592c (patch) | |
tree | 51776a0b0fca34a0fa63425a05f529d23feae948 | |
parent | 2a004034496dccc503c15dcc82691bf0448cc559 (diff) | |
download | texlive-openbsd-a8e1a8b86402b1d4cd0ef30fac19b5354cd1592c.tar.gz |
makefile: use sysctl instead of uname
-rw-r--r-- | makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2,7 +2,7 @@ TL_YEAR?=2024 | |||
2 | PREFIX?=/usr/local/texlive/${TL_YEAR}/bin/custom | 2 | PREFIX?=/usr/local/texlive/${TL_YEAR}/bin/custom |
3 | BINREPO=https://www.ekdosis.org/texlive | 3 | BINREPO=https://www.ekdosis.org/texlive |
4 | TMPDIR!=mktemp -d | 4 | TMPDIR!=mktemp -d |
5 | OPENBSD_VERSION!=uname -r | sed 's/\.//' | 5 | OPENBSD_VERSION!=sysctl -n kern.version | awk '{ print $$2 }' | sed 's/\.//' | awk NF |
6 | TLBINPATH!!=which latex 2>/dev/null | sed 's/\/latex$$//' | 6 | TLBINPATH!!=which latex 2>/dev/null | sed 's/\/latex$$//' |
7 | TMPSOURCE?="" | 7 | TMPSOURCE?="" |
8 | UPDATING!=curl -s ${BINREPO}/status.txt | grep updating= | sed 's/.*=//' | 8 | UPDATING!=curl -s ${BINREPO}/status.txt | grep updating= | sed 's/.*=//' |