From 7b0f84dab277eb079ea8ad6d1b33557a414b48d7 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Fri, 1 Sep 2023 13:54:04 +0200 Subject: Compute test root path once It looked ugly and confusing when sed command was being embedded everywhere. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 815a251..cbd2f49 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,8 @@ ALL_EGG_INFOS = \ CONTAINER_PREREQUISITES = container.scm $(ALL_EGG_INFOS) hydrilla-wsgi.py \ exim.conf Makefile.local -TEST_ROOT_DIR = "/tmp/$$(pwd | sed 's|/|!|g')"'!!test-root/current' +PWD_DERIVED_DIRECTORY_NAME != pwd | sed 's|[/'\'']|!|g' +TEST_ROOT_DIR = '/tmp/$(PWD_DERIVED_DIRECTORY_NAME)!!test-root/current' all: | container-runner.touchfile log sample-malcontent -- cgit v1.2.3