From: miker Date: Tue, 19 Apr 2011 16:36:14 +0000 (+0000) Subject: Store the cache hash file in LOCALSTATEDIR/web/ so it can be used from within apache... X-Git-Url: http://git.equinoxoli.org/?p=evergreen-equinox.git;a=commitdiff_plain;h=28283b6fea32c44658a515816943b577281de3af 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/trunk@20215 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/extras/cache-generator.sh b/Open-ILS/src/extras/cache-generator.sh index 35f11f2..a9dd834 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