https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119081
--- Comment #7 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Jason Merrill <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:90f5dabddbdc47bfbabaabb5b560d3d5cc2acf9c commit r15-8001-g90f5dabddbdc47bfbabaabb5b560d3d5cc2acf9c Author: Jason Merrill <ja...@redhat.com> Date: Tue Mar 11 17:43:35 2025 -0400 contrib: relpath.sh /lib /include [PR119081] Previously, if the common ancestor of the two paths is / we would print the absolute second argument, but this PR asks for a relative path in that case as well, which makes sense for the libstdc++.modules.json use case. PR libstdc++/119081 contrib/ChangeLog: * relpath.sh: Give relative path even at /.