diff --git a/pipelined/regression/regression-wally b/pipelined/regression/regression-wally index aae1b5415..9a5a53d28 100755 --- a/pipelined/regression/regression-wally +++ b/pipelined/regression/regression-wally @@ -163,8 +163,12 @@ def main(): #print(regressionDir) except: pass - shutil.rmtree("wkdir") - os.mkdir("wkdir") + try: + shutil.rmtree("wkdir") + except: + pass + finally: + os.mkdir("wkdir") if '-makeTests' in sys.argv: os.chdir(regressionDir)