Option --into not working on MacOS when full source path contains tilde
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Rubber |
Confirmed
|
Medium
|
Unassigned |
Bug Description
On MacOS, if full source path contains a "~" (which is the case for e.g. paths in iCloud drive) then Rubber fails with "Could not run latex" when option --into is used.
This works:
/Users/anders/dir1> rubber --into=out test.tex
This works as well ("~" in path but option --into not used):
/Users/
This does not work ("~" in path and option --into used):
/Users/
Debug output:
/Users/
This is Rubber version 1.3.
[latex] parsing /Users/
[latex] script module article registered
[latex] end of /Users/
[latex] dependencies: ['test.aux', '/Users/
[depend] make test.dvi -> ['test.aux', '/Users/
[depend] while making test.dvi: cyclic dependency on test.aux (pruned)
[latex] building additional files...
compiling test.tex...
executing: latex \nonstopmode \input{
with environment: {'TEXINPUTS': '.:/Users/
process 71100 (latex) returned 1
Could not run latex.
There were errors compiling test.tex.
The problem remains in version 1.4:
/Users/ anders/ dir~1> rubber -vvv --into=out test.tex anders/ dir~1/test. tex anders/ dir~1/test. tex anders/ dir~1/test. tex'] anders/ dir~1/test. tex'] /Users/ anders/ dir~1/test. tex} anders/ dir~1:' }
rubber -vvv --into=out test.tex
This is Rubber version 1.4.
[latex] parsing /Users/
[latex] script module article registered
[latex] end of /Users/
[latex] dependencies: ['test.aux', '/Users/
[depend] make test.dvi -> ['test.aux', '/Users/
[depend] while making test.dvi: cyclic dependency on test.aux (pruned)
[latex] building additional files...
compiling test.tex...
executing: latex \nonstopmode \input{
with environment: {'TEXINPUTS': '.:/Users/
process 8699 (latex) returned 1
Output file `out/test.dvi' was not produced.
There were errors compiling test.aux.