diff options
author | Aleksander Mistewicz <a.mistewicz@samsung.com> | 2016-12-29 12:37:25 +0100 |
---|---|---|
committer | Aleksander Mistewicz <a.mistewicz@samsung.com> | 2017-03-29 12:48:09 +0200 |
commit | eebd60cfe0894c635af7dceccd93b67f85fc8176 (patch) | |
tree | 126fde6540b37b54f2d590d93be8a2bf7a61fc34 /tsp | |
parent | 1b358cef8151b1a4bb7c98fa445d037aedbe9837 (diff) | |
download | major-eebd60cfe0894c635af7dceccd93b67f85fc8176.tar.gz major-eebd60cfe0894c635af7dceccd93b67f85fc8176.tar.bz2 major-eebd60cfe0894c635af7dceccd93b67f85fc8176.zip |
Create WS_PUBLISH on start
Change-Id: I64b439e9350fb09e265494fe6f4a9da3ba124703
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Diffstat (limited to 'tsp')
-rwxr-xr-x | tsp/common.sh | 2 |
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" |