summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Mistewicz <a.mistewicz@samsung.com>2016-12-29 11:37:25 (GMT)
committerAleksander Mistewicz <a.mistewicz@samsung.com>2017-03-29 10:48:09 (GMT)
commiteebd60cfe0894c635af7dceccd93b67f85fc8176 (patch)
tree126fde6540b37b54f2d590d93be8a2bf7a61fc34
parent1b358cef8151b1a4bb7c98fa445d037aedbe9837 (diff)
downloadmajor-eebd60cfe0894c635af7dceccd93b67f85fc8176.zip
major-eebd60cfe0894c635af7dceccd93b67f85fc8176.tar.gz
major-eebd60cfe0894c635af7dceccd93b67f85fc8176.tar.bz2
Create WS_PUBLISH on startrefs/changes/58/108758/3
Change-Id: I64b439e9350fb09e265494fe6f4a9da3ba124703 Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
-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"