summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/g-i-installation.sh6
1 files changed, 4 insertions, 2 deletions
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)