diff options
author | Wojtek Kosior <koszko@koszko.org> | 2023-09-01 13:54:04 +0200 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2023-09-01 13:54:04 +0200 |
commit | 7b0f84dab277eb079ea8ad6d1b33557a414b48d7 (patch) | |
tree | fe279a0a52426e6c75e83ba0003d7eb387f9c076 | |
parent | eea14360656ac837a3b38eaa364f450fa22de9e0 (diff) | |
download | koszko-org-server-7b0f84dab277eb079ea8ad6d1b33557a414b48d7.tar.gz koszko-org-server-7b0f84dab277eb079ea8ad6d1b33557a414b48d7.zip |
Compute test root path once
It looked ugly and confusing when sed command was being embedded everywhere.
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |