[open-ils-commits] r20220 - branches/rel_2_1/Open-ILS/src/extras (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Apr 19 15:53:09 EDT 2011
Author: miker
Date: 2011-04-19 15:53:04 -0400 (Tue, 19 Apr 2011)
New Revision: 20220
Modified:
branches/rel_2_1/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: branches/rel_2_1/Open-ILS/src/extras/cache-generator.sh
===================================================================
--- branches/rel_2_1/Open-ILS/src/extras/cache-generator.sh 2011-04-19 19:51:26 UTC (rev 20219)
+++ branches/rel_2_1/Open-ILS/src/extras/cache-generator.sh 2011-04-19 19:53:04 UTC (rev 20220)
@@ -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