Rename redo/python -> redo/py.
This avoids a name overlap with the system-installed copy of python. Since redo adds the redo/ dir to the $PATH before running .do files, python.do might see its own previously-created target instead of the "real" python when testing, and create an infinite loop by accident.
This commit is contained in:
parent
f1305b49eb
commit
99188bef0d
7 changed files with 8 additions and 9 deletions
7
redo/py.do
Normal file
7
redo/py.do
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
redo-ifchange whichpython
|
||||
read py <whichpython
|
||||
cat >$3 <<-EOF
|
||||
#!/bin/sh
|
||||
exec $py "\$@"
|
||||
EOF
|
||||
chmod a+x $3
|
||||
Loading…
Add table
Add a link
Reference in a new issue