summaryrefslogtreecommitdiffabout
authorChris Pickel <sfiera@macports.org>2007-09-08 09:39:44 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2007-09-08 09:53:40 (UTC)
commit898f5f89d3e2c6100f7e0ab6fc4a200b8fc75bb5 (patch) (unidiff)
tree43c06040109ad8f28ba98aa24feef56a81eda658
parent97ded7c1c37078d34c0213d72777fdff3b6aebda (diff)
downloadcgit-898f5f89d3e2c6100f7e0ab6fc4a200b8fc75bb5.zip
cgit-898f5f89d3e2c6100f7e0ab6fc4a200b8fc75bb5.tar.gz
cgit-898f5f89d3e2c6100f7e0ab6fc4a200b8fc75bb5.tar.bz2
Make cgit honor CACHE_ROOT as defined in Makefile
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile1
-rw-r--r--shared.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d95a5a3..7857b8e 100644
--- a/Makefile
+++ b/Makefile
@@ -35,2 +35,3 @@ CFLAGS += -DCGIT_CONFIG='"$(CGIT_CONFIG)"'
35CFLAGS += -DCGIT_SCRIPT_NAME='"$(CGIT_SCRIPT_NAME)"' 35CFLAGS += -DCGIT_SCRIPT_NAME='"$(CGIT_SCRIPT_NAME)"'
36CFLAGS += -DCGIT_CACHE_ROOT='"$(CACHE_ROOT)"'
36 37
diff --git a/shared.c b/shared.c
index cd9d68d..1cd60a2 100644
--- a/shared.c
+++ b/shared.c
@@ -25,3 +25,3 @@ char *cgit_virtual_root = NULL;
25char *cgit_script_name = CGIT_SCRIPT_NAME; 25char *cgit_script_name = CGIT_SCRIPT_NAME;
26char *cgit_cache_root = "/var/cache/cgit"; 26char *cgit_cache_root = CGIT_CACHE_ROOT;
27char *cgit_repo_group = NULL; 27char *cgit_repo_group = NULL;