From 99a055da9d5aaa2f1d0c632b067003d8df32ac6e Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 3 Nov 2014 01:08:25 +0100 Subject: g-i-i: initially remove old screenshot --- bin/g-i-installation.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh index e9e905ab..14b949f4 100644 --- a/bin/g-i-installation.sh +++ b/bin/g-i-installation.sh @@ -41,9 +41,11 @@ fi # # define workspace + results # -rm -rf results +rm -rf results screenshot.png screenshot-thumb.png mkdir -p results -WORKSPACE=$(pwd) +if [ -z "$WORKSPACE" ] ; then + WORKSPACE=$(pwd) +fi RESULTS=$WORKSPACE/results mkdir -p $RESULTS/log GOCR=$(mktemp) -- cgit v1.2.3-70-g09d2