fix build.sh

This commit is contained in:
jan6 2021-10-10 23:26:01 +03:00
parent 70e6a2affd
commit 2f3783e3ac
1 changed files with 4 additions and 0 deletions

View File

@ -4,9 +4,13 @@
dir="$(echo "$0"|sed 's|/[^/]\+$||')"
if [ -d "$dir" ];then cd "$dir";fi
TZ=UTC date
echo "updating repo"
git pull
git submodule update --remote --rebase --single-branch --force
echo "generating site"
#. in reference to src/
for path in . ./wiki;do
tmpindex=$(mktemp --suffix '.md') # for generating list of markdown links for index.html