[open-ils-commits] r18922 - trunk/Open-ILS/src/extras (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Dec 6 15:20:53 EST 2010
Author: erickson
Date: 2010-12-06 15:20:48 -0500 (Mon, 06 Dec 2010)
New Revision: 18922
Modified:
trunk/Open-ILS/src/extras/autogen.sh
Log:
be sure skin dir has a js_common.xml file before we try to process it
Modified: trunk/Open-ILS/src/extras/autogen.sh
===================================================================
--- trunk/Open-ILS/src/extras/autogen.sh 2010-12-03 21:36:11 UTC (rev 18921)
+++ trunk/Open-ILS/src/extras/autogen.sh 2010-12-06 20:20:48 UTC (rev 18922)
@@ -132,6 +132,8 @@
for skin in $(ls $SKINDIR); do
+ [ ! -f $SKINDIR/$skin/xml/common/js_common.xml ] && continue;
+
files=$(sed -n -e "/<\!--START COMPRESSION-->/,/<\!--END COMPRESSION-->/ s/.*\?\/\([^']*\.js\)'.*/\1/p" $SKINDIR/$skin/xml/common/js_common.xml);
if [ -n "$files" ]; then
More information about the open-ils-commits
mailing list