summaryrefslogtreecommitdiff
path: root/strus/create_xml.sh
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-03-07 19:54:07 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2017-03-07 19:54:07 +0100
commit4980ff2d6c0e9e349c92f042ca1e07c643125491 (patch)
tree486c540839250d12cd6cc5d0460f20d061b8e592 /strus/create_xml.sh
parent6ebbeffc3473c7ab393d11df558170dd0b96b067 (diff)
downloadwww-andreasbaumann-cc-4980ff2d6c0e9e349c92f042ca1e07c643125491.tar.gz
www-andreasbaumann-cc-4980ff2d6c0e9e349c92f042ca1e07c643125491.tar.bz2
small fixes on OSX
Diffstat (limited to 'strus/create_xml.sh')
-rwxr-xr-xstrus/create_xml.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/strus/create_xml.sh b/strus/create_xml.sh
index 422e16f..4ef5c5a 100755
--- a/strus/create_xml.sh
+++ b/strus/create_xml.sh
@@ -18,6 +18,8 @@ for file in `find ../content/ -name '*.md'`; do
slug="/"
fi
+ slug=`echo $slug | sed 's@^//@/@g'`
+
awk 'BEGIN { i = 0 } /\+\+\+/{x="F"++i;}{print > x;}' $file >/dev/null 2>&1
if test ! -f F1 -a -f F2; then