summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Hands <phil@hands.com>2016-05-12 20:19:05 +0200
committerHolger Levsen <holger@layer-acht.org>2016-05-12 20:20:40 +0200
commite3bbba9912c0f5c82c68aef1796d1c269c66ee03 (patch)
tree7814245558de98119824f2879ac3bdfe99c8a4ed
parentf70b883c1268300b26984267a80ee4b40cd29ade (diff)
downloadjenkins.debian.net-e3bbba9912c0f5c82c68aef1796d1c269c66ee03.tar.xz
lvc: make sure we have a storage dir
-rwxr-xr-xbin/lvc.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/lvc.sh b/bin/lvc.sh
index 9c54a9c9..f0caec1a 100755
--- a/bin/lvc.sh
+++ b/bin/lvc.sh
@@ -34,13 +34,15 @@ fetch_if_newer() {
# define workspace + results
#
rm -rf results screenshot.png screenshot-thumb.png
-mkdir -p results
+
if [ -z "$WORKSPACE" ] ; then
WORKSPACE=$PWD
fi
RESULTS=$WORKSPACE/results
mkdir -p $RESULTS
+mkdir -p $WORKSPACE/DebianToasterStorage
+
trap cleanup_all INT TERM EXIT
#