From 52df7894da483ff33b56a63a9196c59a70d27aaf Mon Sep 17 00:00:00 2001
From: Holden Rohrer
Date: Sun, 21 Feb 2021 03:38:20 -0500
Subject: Makefile didn't actually replace the folder
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'Makefile')
diff --git a/Makefile b/Makefile
index 9cb5947..6b8d8d3 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ WEBROOT=/var/www/html/chsmun
SRC=src
install: /etc/nginx/chsmun.redir
- cp -R $(SRC) $(WEBROOT)
+ cp -TR $(SRC) $(WEBROOT)
/etc/nginx/chsmun.redir: LINKS
awk '{gsub(/["\\\$$]/,"\\\\&",$$2);print "location = /chsmun/"$$1" { return 302 \""g$$2"\"; }"}' LINKS > /etc/nginx/chsmun.redir
--
cgit