]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remove more $(shell..) by using built-in GNU make functions
authorAlan T. DeKok <aland@freeradius.org>
Thu, 2 Dec 2021 18:21:20 +0000 (13:21 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 3 Dec 2021 15:33:47 +0000 (10:33 -0500)
src/tests/modules/all.mk

index 1cfe588dbbd310c25346b50450c9099f6b19de08..39d8d25fc83a4999088797321b546bc92660bbb9 100644 (file)
@@ -46,9 +46,9 @@ else
   ifdef ${1}_require_test_server
     ifdef TEST_SERVER
       # define and export FOO_TEST_SERVER if it's not already defined
-      $(eval export $(shell echo ${1} | tr a-z A-Z)_TEST_SERVER ?= $(TEST_SERVER))
+      $(eval export $(call uc, ${1})_TEST_SERVER ?= $(TEST_SERVER))
     endif
-    ifeq "$($(shell echo ${1} | tr a-z A-Z)_TEST_SERVER)" ""
+    ifeq "$($(call uc,${1})_TEST_SERVER)" ""
       # the module requires a test server, but we don't have one.  Skip it.
       FILES_SKIP += ${2}
     endif