Move creation of .redo directory.
This fixes "./redo clean test", since clean.do deletes .redo.
This commit is contained in:
parent
903793ecd9
commit
440af04821
1 changed files with 1 additions and 1 deletions
2
redo.py
2
redo.py
|
|
@ -190,7 +190,6 @@ if not os.environ.get('REDO_BASE', ''):
|
|||
base = newbase
|
||||
break
|
||||
os.environ['REDO_BASE'] = base
|
||||
mkdirp('%s/.redo' % base)
|
||||
|
||||
from vars import *
|
||||
|
||||
|
|
@ -204,6 +203,7 @@ if not REDO_DEPTH:
|
|||
|
||||
startdir = os.getcwd()
|
||||
for t in targets:
|
||||
mkdirp('%s/.redo' % REDO_BASE)
|
||||
os.chdir(startdir)
|
||||
|
||||
if REDO_TARGET:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue