[tex-live] Broken error code logic in install-tl/do_path_adjustments
erlend.graff at gmail.com
Sat Jul 29 19:17:40 CEST 2017
I think I've found a small error in the latest install-tl script (rev 44872
I noticed that the installer returned an error code 1 after a seemingly
successful install. After some debugging, I found in
the do_path_adjustments sub-routine of install-tl that the logic has been
slightly changed for the code that adds symlinks.
This is the problematic code:
$ret = 1;
>From what I can tell, the problem is that add_remove_symlinks in TLUtils.pm
returns $F_OK (which has the value 0) if it completes successfully, so the
error test in the if statement above seems to be inverted.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the tex-live