diff options
Diffstat (limited to 'tools/publish.sh')
-rwxr-xr-x | tools/publish.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/publish.sh b/tools/publish.sh index cd3f46c..b9bd285 100755 --- a/tools/publish.sh +++ b/tools/publish.sh @@ -11,9 +11,9 @@ NOTES="${BASEDIR}/notes" # dump all the notes into a single file (echo '<?xml version="1.0" encoding="UTF-8"?>' && echo '<notes>' && - find "${NOTES}" -name '*.xhtml' | + find "${SOURCES}" -name '*.xhtml' | grep -v index.xhtml | - sed -e "sS^${BASEDIR}/\(.*\)S <note src=\"\\1\" />S" && + sed -e "sS^${SOURCES}/\(.*\)S <note src=\"\\1\" />S" && echo '</notes>') | xsltproc -o "${BUILD}/notes-dump.xml" "${TOOLS}/xml-notes-dump.xsl" - |