vars_init.py: always add .../redo-sh to the PATH, even if it doesn't exist.
Otherwise a fresh 'redo test' in the redo repo won't switch to using redo-sh/sh after redo-sh.do runs, and the tests aren't accurate.
This commit is contained in:
parent
474f2e71fe
commit
f3ae4e4e00
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ def init(targets):
|
|||
seen = {}
|
||||
dirs = []
|
||||
for k in trynames:
|
||||
if not seen.get(k) and os.path.exists('%s/.' % k):
|
||||
if not seen.get(k):
|
||||
seen[k] = 1
|
||||
dirs.append(k)
|
||||
os.environ['PATH'] = ':'.join(dirs) + ':' + os.environ['PATH']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue