summaryrefslogtreecommitdiff
path: root/make/vars.mk
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2026-07-03 10:28:22 +0100
committerJoe Carstairs <me@joeac.net>2026-07-03 10:28:22 +0100
commitb19ae63cebfb1bbca5a3834d22001c1d1d586673 (patch)
treec3359ff64822db90459ecebf8169db3b6b2ccb92 /make/vars.mk
parent17c7e2446cfc5b02df4cc437a84d13e9e05b8132 (diff)
parent1dab2c159a62e48d9b3263bb40ddc781ebb4e891 (diff)
Merge branch 'main' of https://git.joeac.net/joeac/joeac.net
Diffstat (limited to 'make/vars.mk')
-rw-r--r--make/vars.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/vars.mk b/make/vars.mk
index e9f1ec4..27044cf 100644
--- a/make/vars.mk
+++ b/make/vars.mk
@@ -1,4 +1,4 @@
-capitalise = $(shell _v="$(1)"; echo $${_v^^})
+capitalise = $(shell echo "$(1)" | tr '[:lower:]' '[:upper:]')
USER := $(shell whoami)
HOSTNAME := $(shell cat /etc/hostname)