diff options
author | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2019-04-09 16:00:41 +0200 |
---|---|---|
committer | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2019-04-09 16:00:41 +0200 |
commit | c33d85102b009875d3c9e1bfaee3c8ace4db91ec (patch) | |
tree | b51ba653258a7e17a972ca505140e7091bf65f75 | |
parent | c39ade9954484a831900b5665a8d4689808c0d25 (diff) |
Make sure to remove tmpdir
Change-Id: Ie2db7f66f76ac64c66fd87671e3be78094e993b2
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
-rw-r--r-- | jjb/daily-jjb-doc-update/include-doc-upload.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/jjb/daily-jjb-doc-update/include-doc-upload.sh b/jjb/daily-jjb-doc-update/include-doc-upload.sh index f0cbd92e..9914e374 100644 --- a/jjb/daily-jjb-doc-update/include-doc-upload.sh +++ b/jjb/daily-jjb-doc-update/include-doc-upload.sh @@ -11,6 +11,7 @@ TMPDIR=${TMPDIR:-$WORKSPACE/upload-gh} ssh-keyscan -H github.com >> ~/.ssh/known_hosts +rm -rf $TMPDIR || true mkdir -p $TMPDIR git clone -b gh-pages git@github.com:automotive-grade-linux/docs-gh-pages.git $TMPDIR/upload-gh-pages mkdir -p $TMPDIR/upload-gh-pages/ |