From 473ec9bb2db0589498d6567243aa03017945adbc Mon Sep 17 00:00:00 2001 From: miker Date: Tue, 19 Apr 2011 19:53:04 +0000 Subject: [PATCH] Store the cache hash file in LOCALSTATEDIR/web/ so it can be used from within apache via SSI git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_1@20220 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/extras/cache-generator.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/extras/cache-generator.sh b/Open-ILS/src/extras/cache-generator.sh index 35f11f2185..a9dd834854 100644 --- a/Open-ILS/src/extras/cache-generator.sh +++ b/Open-ILS/src/extras/cache-generator.sh @@ -9,11 +9,11 @@ BINDIR/autogen.sh $@ |tee /tmp/.eg-cache-generator.$PID for i in `grep -- '->' /tmp/.eg-cache-generator.$PID| awk '{print $2}'`; do ls $i >/dev/null 2>/dev/null && md5sum $i done -) | md5sum | cut -f1 -d' ' | colrm 1 26 > SYSCONFDIR/eg_cache_hash +) | md5sum | cut -f1 -d' ' | colrm 1 26 > LOCALSTATEDIR/web/eg_cache_hash echo echo -n "Current Evergreen cache key: " -cat SYSCONFDIR/eg_cache_hash +cat LOCALSTATEDIR/web/eg_cache_hash rm /tmp/.eg-cache-generator.$PID -- 2.11.0