From e3bbba9912c0f5c82c68aef1796d1c269c66ee03 Mon Sep 17 00:00:00 2001 From: Philip Hands Date: Thu, 12 May 2016 20:19:05 +0200 Subject: lvc: make sure we have a storage dir --- bin/lvc.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin') 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 # -- cgit v1.2.3-70-g09d2