Use realpath instead of custom script
authorIlias Tsitsimpis <iliastsi@debian.org>
Sun, 15 Sep 2024 21:17:25 +0000 (00:17 +0300)
committerIlias Tsitsimpis <iliastsi@debian.org>
Sun, 15 Sep 2024 21:17:25 +0000 (00:17 +0300)
commit6ebf78c63551796ca82bdd6dc7b821fdf2539e33
tree7ef0a9686bef5a43f478efe01057cdfbb5f6397d
parentc886c518c4508f3ed07092e80ac8459c59d435ac
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