浏览代码

Added code to modify the module html files to make them point to the root css file.

Luke Taylor 18 年之前
父节点
当前提交
d14fb1e87d
共有 1 个文件被更改,包括 9 次插入0 次删除
  1. 9 0
      releasebuild.sh

+ 9 - 0
releasebuild.sh

@@ -44,6 +44,15 @@ then
   exit 1;
 fi
 
+# Patch the module site files to point to the correct css file
+
+pushd $RELEASE_DIR/site
+
+find . -name "*.html" -maxdepth 2 -mindepth 2 | xargs perl -i -p -e 's#\./css/site\.css#\.\./css/site\.css#'
+
+popd
+
+
 
 # Assemble the required jar files