diff options
author | Wojtek Kosior <koszko@koszko.org> | 2022-11-25 17:12:24 +0100 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2022-11-25 17:12:24 +0100 |
commit | 854d7a333f845e181dcdd28df602de601abfe5a6 (patch) | |
tree | b314d46d9fa752299e6e0b85ea327d083136d1b7 /Makefile | |
parent | 668dc3b9e42f417d51f125ae99363dbff8a61a84 (diff) | |
download | koszko-org-server-854d7a333f845e181dcdd28df602de601abfe5a6.tar.gz koszko-org-server-854d7a333f845e181dcdd28df602de601abfe5a6.zip |
add hydrillarepos.koszko.org virtualhost
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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` |