summaryrefslogtreecommitdiff
path: root/tsp/common.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tsp/common.sh')
-rwxr-xr-xtsp/common.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tsp/common.sh b/tsp/common.sh
index 9bfc210..b60830b 100755
--- a/tsp/common.sh
+++ b/tsp/common.sh
@@ -38,6 +38,8 @@ WS_PUBLISH="${WS}/publish"
SNAPSHOT_WS_DOWNLOAD="${WS_DOWNLOAD}/snapshot"
SNAPSHOT_WS_DOWNLOAD_NEW="${WS_DOWNLOAD}/new_snapshot"
+test -d "${WS_PUBLISH}" || mkdir -p "${WS_PUBLISH}"
+
DBNAME="results.db3"
DBPATH="${WS_PUBLISH}/${DBNAME}"
WWW_PUBLISH="${WS_PUBLISH}/current_status.html"