Use realpath instead of custom script
authorIlias Tsitsimpis <iliastsi@debian.org>
Mon, 19 Feb 2024 16:12:25 +0000 (17:12 +0100)
committerGianfranco Costamagna <locutusofborg@debian.org>
Mon, 19 Feb 2024 16:12:25 +0000 (17:12 +0100)
commit2ea914e34f82b4b3c8f3a28d8dd93418609efb37
tree6110004e0566478e79abafce91ab16bfc1778a06
parent7e57b43714384645eb49617af1456107cabfafac
Use realpath instead of custom script

Use realpath instead of the custom script, which is broken. As an example,

  $ ./mk/relpath.sh /usr/lib/ghc/lib /usr/lib/ghc-doc
  ..-doc
  $ realpath --relative-to=/usr/lib/ghc/lib /usr/lib/ghc-doc
  ../../ghc-doc

Gbp-Pq: Name hadrian-relpath
hadrian/bindist/Makefile