aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
authorAndrei Alexeyev <akari@taisei-project.org>2021-07-23 18:37:43 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2021-07-27 13:11:46 +0300
commit254969b128d2e74c86ba7d8462b58e7c66dd8647 (patch)
tree4907f46d94229e45f7d9071872c6ea8b519eaf2e /mesonbuild
parent5d88c45861bd5d1f60baa9967fffb843c4a162d1 (diff)
downloadmeson-254969b128d2e74c86ba7d8462b58e7c66dd8647.zip
meson-254969b128d2e74c86ba7d8462b58e7c66dd8647.tar.gz
meson-254969b128d2e74c86ba7d8462b58e7c66dd8647.tar.bz2
msubprojects: make purge print full paths to comply with the tests
Diffstat (limited to 'mesonbuild')
-rwxr-xr-xmesonbuild/msubprojects.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/msubprojects.py b/mesonbuild/msubprojects.py
index 656f9a2..ea42b24 100755
--- a/mesonbuild/msubprojects.py
+++ b/mesonbuild/msubprojects.py
@@ -432,6 +432,8 @@ class Runner:
# NOTE: Do not use .resolve() here; the subproject directory may be a symlink
subproject_source_dir = Path(self.repo_dir)
+ # Resolve just the parent, just to print out the full path
+ subproject_source_dir = subproject_source_dir.parent.resolve() / subproject_source_dir.name
# Don't follow symlink. This is covered by the next if statement, but why
# not be doubly sure.