From 854d7a333f845e181dcdd28df602de601abfe5a6 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Fri, 25 Nov 2022 17:12:24 +0100 Subject: add hydrillarepos.koszko.org virtualhost --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b0eb3a8..77fc3ae 100644 --- a/Makefile +++ b/Makefile @@ -71,8 +71,11 @@ MALCONTENT_DIR = $(TEST_ROOT_DIR)/var/lib/hydrilla/malcontent_dirs prepare-test-root: sample-malcontent rm -rf $(TEST_ROOT_DIR) @# Prepare replacement `/var/www` - mkdir -p $(TEST_ROOT_DIR)/var/www/koszko.org/html - printf ':D\n' > $(TEST_ROOT_DIR)/var/www/koszko.org/html/index.html + for SITE in koszko.org hydrillarepos.koszko.org; do \ + mkdir -p $(TEST_ROOT_DIR)/var/www/"$$SITE"/html; \ + printf 'This is dummy file for %s :D\n' "$$SITE" \ + > $(TEST_ROOT_DIR)/var/www/"$$SITE"/html/index.html; \ + done @# Prepare replacement `/var/log` mkdir -p $(TEST_ROOT_DIR)/var/log @# Prepare replacement `/etc` -- cgit v1.2.3