[latex3-commits] [latex3/l3build] f80a5b: resolve copied links

GitHub noreply at github.com
Sun Jul 23 12:32:04 CEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/latex3/l3build
  Commit: f80a5b3690c517ac48bc2da14311a82e8b59c5f3
      https://github.com/latex3/l3build/commit/f80a5b3690c517ac48bc2da14311a82e8b59c5f3
  Author: XZS <d.f.fischer at web.de>
  Date:   2017-07-23 (Sun, 23 Jul 2017)

  Changed paths:
    M l3build.lua

  Log Message:
  -----------
  resolve copied links

When any file copied into a build directory is a symbolic link, the link
could not correctly point to its target from its new location, should
the target not coincidentally be copied as well. Errors of the kind
"file not found" will then occur for the copied links.  This is true for
targets inside as well as outside of the project, as long as they are
specified relatively.

Resolving the links, copying the file content of the target instead of
the link, eliminates this problem.

As the documentation of the xcopy utility [1], specifically the "/b"
option tells, resolving links was the default behaviour in Windows all
along.

[1] https://technet.microsoft.com/de-de/library/cc771254(v=ws.10).aspx




More information about the latex3-commits mailing list