|
From: | Akihiko Odaki |
Subject: | Re: [PATCH v6 0/7] cutils: Introduce bundle mechanism |
Date: | Sat, 25 Jun 2022 01:33:01 +0900 |
User-agent: | Mozilla/5.0 (X11; Linux aarch64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 |
On 2022/06/16 18:18, Paolo Bonzini wrote:
+def destdir_join(d1: str, d2: str) -> str: + if not d1: + return d2 + if not os.path.isabs(d2): + return os.path.join(d1, d2) + + # c:\destdir + c:\prefix must produce c:\destdir\prefix + if len(d2) > 1 and d2[1] == ':': + return d1 + d2[2:] + return d1 + d2
This is from Meson but buggy so I fixed it and opened a pull request for Meson:
https://github.com/mesonbuild/meson/pull/10531 The script included in v8 has the fixed version of destdir_join. Regards, Akihiko Odaki
[Prev in Thread] | Current Thread | [Next in Thread] |