From: Alan T. DeKok Date: Thu, 2 Dec 2021 18:21:20 +0000 (-0500) Subject: remove more $(shell..) by using built-in GNU make functions X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80463aa573271dfbaa26d95a0f774c61aaad6e22;p=thirdparty%2Ffreeradius-server.git remove more $(shell..) by using built-in GNU make functions --- diff --git a/src/tests/modules/all.mk b/src/tests/modules/all.mk index 1cfe588dbbd..39d8d25fc83 100644 --- a/src/tests/modules/all.mk +++ b/src/tests/modules/all.mk @@ -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