summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 6b745c1..d60d54b 100755
--- a/build.sh
+++ b/build.sh
@@ -6,7 +6,9 @@ else
SED=sed
fi
+TEST_URL=`grep strus_url config.toml | cut -f 2 -d '"'`
+
rm -rf public
hugo -v -b http://www.andreasbaumann.cc
-$SED -i 's@http://euromac.lan:8080/strus/query/wwwandreasbaumanncc@http://www.andreasbaumann.cc/strus/query/wwwandreasbaumanncc@g' \
+$SED -i "s@$TEST_URL@http://www.andreasbaumann.cc/strus/query/wwwandreasbaumanncc@g" \
public/search/index.html