summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2021-02-21 03:38:20 -0500
committerHolden Rohrer <hr@hrhr.dev>2021-02-21 03:38:20 -0500
commit52df7894da483ff33b56a63a9196c59a70d27aaf (patch)
tree2c7cfc0c099c8c3960355e657a8fcb9a99684f87 /Makefile
parent0fe7c1f9cecadca1b70ec7aa810c2e2d0150d6b9 (diff)
Makefile didn't actually replace the folder
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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