Fix htmlgen by linking the database into the prjxray clone.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
This commit is contained in:
Tim 'mithro' Ansell 2019-02-21 18:21:06 -08:00
parent effb484aa9
commit 740de6202e
1 changed files with 3 additions and 1 deletions

View File

@ -5,7 +5,7 @@ set -e
# Capture some information about what we are generating for.
export CURRENT_OWNER="$(git remote get-url origin | sed -e's@/[^/]\+$@@' -e's@.*[:/]\([^:/]\+\)$@\1@')"
SRCDIR=$PWD
DBDIR=$PWD
TMPDIR=$(mktemp -d)
PYTHONHASHSEED=0
@ -55,6 +55,8 @@ fi
sha256sum htmlgen/htmlgen.py
echo "--------------------------------------------"
echo
rm -rf database
ln -s $DBDIR database
)
# Generate the HTML for each device we have a settings file for.