Permalink
Browse files

Stops testrun from complaining when the folder is absent

  • Loading branch information...
1 parent f1f4cb4 commit 744476384776252363dc7ffea4bcfdc02700ac51 @Laar committed Jan 16, 2013
Showing with 4 additions and 1 deletion.
  1. +4 −1 testrun.sh
View
@@ -10,7 +10,10 @@ then
tar -z -xf "$REFERENCEDIR.tar.gz"
fi
-rm -r "$TESTDIR"
+if [ -d "$TESTDIR" ]
+then
+ rm -r "$TESTDIR"
+fi
mkdir "$TESTDIR"
echo "---------------------------"
echo "-- Generating new output --"

0 comments on commit 7444763

Please sign in to comment.