Skip to content

Commit 2638ff9

Browse files
committed
BUG: actually run remove command
1 parent e8199d9 commit 2638ff9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

srcPython/run_restarts.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,12 @@ def run(command, isTest, isVerbose):
128128
if (notInRunDir):
129129
if (os.path.exists(runDir)):
130130
print('Found rundir... copying')
131+
131132
dirPre = './run.restarts'
132133
cdPre = 'cd ' + dirPre + ' ; '
133134
cdPost = ' ; cd ..'
134135
command = 'rm -rf ' + dirPre
136+
run(command, args.test, isVerbose)
135137
command = 'cp -r ' + runDir + ' ' + dirPre
136138
run(command, args.test, isVerbose)
137139
else:

0 commit comments

Comments
 (0)