From c90f49ba8c60b014df189b7925828589578f0c13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antti=20H=C3=A4tinen?= Date: Tue, 17 Dec 2019 17:11:56 +0200 Subject: [PATCH] If results dir already exists, do not try to create it --- sh2ju.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sh2ju.sh b/sh2ju.sh index 01fa353..6c4a789 100755 --- a/sh2ju.sh +++ b/sh2ju.sh @@ -27,7 +27,7 @@ date=`which gdate 2>/dev/null || which date` # create output folder juDIR=`pwd`/results -mkdir -p "$juDIR" || exit +test ! -e $juDIR && mkdir -p "$juDIR" || exit # The name of the suite is calculated based in your script name suite=""