Oops, don't use the SHELL environment variable after all.
Reading the docs for GNU make more closely, it seems they *don't* use the one from the environment, because the user's interactive shell preferences shouldn't affect how the Makefile runs. Good point. In a Makefile, you can define SHELL explicitly, and that works. But let's worry about that some other time.
This commit is contained in:
parent
4243f31e1b
commit
8aea96cc90
1 changed files with 1 additions and 1 deletions
2
redo.py
2
redo.py
|
|
@ -97,7 +97,7 @@ def _build(t):
|
|||
tmpname = '%s.redo.tmp' % t
|
||||
unlink(tmpname)
|
||||
f = open(tmpname, 'w+')
|
||||
argv = [os.environ.get('SHELL', 'sh'), '-e',
|
||||
argv = ['sh', '-e',
|
||||
os.path.basename(dofile),
|
||||
os.path.basename(t), 'FIXME', os.path.basename(tmpname)]
|
||||
if vars.VERBOSE:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue