From: erickson Date: Mon, 6 Dec 2010 20:20:48 +0000 (+0000) Subject: be sure skin dir has a js_common.xml file before we try to process it X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=f7d5b5a5df6a8bf44e9a07b7223b772b16eff6b0;p=evergreen%2Fmasslnc.git be sure skin dir has a js_common.xml file before we try to process it git-svn-id: svn://svn.open-ils.org/ILS/trunk@18922 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/extras/autogen.sh b/Open-ILS/src/extras/autogen.sh index e35eedd5ea..8f165b7a94 100755 --- a/Open-ILS/src/extras/autogen.sh +++ b/Open-ILS/src/extras/autogen.sh @@ -132,6 +132,8 @@ cd $JSDIR; 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