Add leading slash to base dir - postreich - Unnamed repository; edit this file 'description' to name the repository. DIR Log DIR Files DIR Refs DIR README --- DIR commit 47f7a956a96ee0d4cdcac5c59e223d34316d91dc DIR parent 28cacb6f000066b92cdc842f28fcb6df2c4eb415 HTML Author: Scarlett McAllister <no+reply@roygbyte.com> Date: Tue, 30 Jan 2024 20:51:41 -0400 Add leading slash to base dir Diffstat: M Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- DIR diff --git a/Makefile b/Makefile @@ -1,5 +1,5 @@ -HOSTNAME = localhost -BASE_DIR = postreich +HOSTNAME = roygbyte.com +BASE_DIR = "\/postreich" dist: rm -R dist @@ -7,7 +7,7 @@ dist: rsync --exclude="#*#" --exclude="*mailboxes" --exclude=".*" --exclude="*pubkeys" -l -p -r src/geomyidae/ dist/geomyidae mkdir dist/geomyidae/api/mailboxes mkdir dist/geomyidae/api/pubkeys - sed -i -E 's/(BASE_DIR=)""/\1"$(BASE_DIR)"/' dist/geomyidae/api/common + sed -i -E 's/(BASE_DIR=)""/\1$(BASE_DIR)/' dist/geomyidae/api/common sed -i 's/<HOSTNAME>/$(HOSTNAME)/' dist/geomyidae/index.dcgi sed -i 's/<BASE_DIR>/$(BASE_DIR)\//' dist/geomyidae/index.dcgi