Use realpath instead of custom script
authorIlias Tsitsimpis <iliastsi@debian.org>
Tue, 5 Nov 2024 23:21:23 +0000 (00:21 +0100)
committerGianfranco Costamagna <locutusofborg@debian.org>
Tue, 5 Nov 2024 23:21:23 +0000 (00:21 +0100)
commit7b70a4e53f1453664572be70e8da3b1c0b3b5a2e
tree2e4b51bc5785b120d6acf512002284947e77dc90
parent4dcdaafb3c8e40e23b9598e5e125542d7bb1cfe1
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