makes capitalise func POSIX-compatible
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ endef
|
||||
define uninstall_nginx_module_rule =
|
||||
.PHONY: uninstall_nginx_$(module)
|
||||
uninstall_nginx_$(module):
|
||||
(if $(SUBDOMAIN_$(module)),rm -f /etc/nginx/http.d/$(SUBDOMAIN_$(module)).joeac.net.conf)
|
||||
$(if $(SUBDOMAIN_$(module)),rm -f /etc/nginx/http.d/$(SUBDOMAIN_$(module)).joeac.net.conf)
|
||||
endef
|
||||
|
||||
define remove_nginx_site_rule =
|
||||
|
||||
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user