[open-ils-commits] r20215 - trunk/Open-ILS/src/extras (miker)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Apr 19 12:36:17 EDT 2011


Author: miker
Date: 2011-04-19 12:36:14 -0400 (Tue, 19 Apr 2011)
New Revision: 20215

Modified:
   trunk/Open-ILS/src/extras/cache-generator.sh
Log:
Store the cache hash file in LOCALSTATEDIR/web/ so it can be used from within apache via SSI

Modified: trunk/Open-ILS/src/extras/cache-generator.sh
===================================================================
--- trunk/Open-ILS/src/extras/cache-generator.sh	2011-04-19 16:19:39 UTC (rev 20214)
+++ trunk/Open-ILS/src/extras/cache-generator.sh	2011-04-19 16:36:14 UTC (rev 20215)
@@ -9,11 +9,11 @@
   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
 



More information about the open-ils-commits mailing list