diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2017-05-02 15:25:58 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-05-02 22:05:31 +0300 |
commit | 9d69c934d62e3239157d4e87e03b4c851210dc53 (patch) | |
tree | 684c367a609696f0715168b67b7cc2a09f0cfae6 /mesonbuild/mesonmain.py | |
parent | a8173630eac1f35914fdc2d918a636ac268b9033 (diff) | |
download | meson-9d69c934d62e3239157d4e87e03b4c851210dc53.zip meson-9d69c934d62e3239157d4e87e03b4c851210dc53.tar.gz meson-9d69c934d62e3239157d4e87e03b4c851210dc53.tar.bz2 |
Expand input paths so they do not contain symlinks.
Diffstat (limited to 'mesonbuild/mesonmain.py')
-rw-r--r-- | mesonbuild/mesonmain.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/mesonmain.py b/mesonbuild/mesonmain.py index 5544037..b997715 100644 --- a/mesonbuild/mesonmain.py +++ b/mesonbuild/mesonmain.py @@ -87,8 +87,8 @@ class MesonApp: return os.path.exists(fname) def validate_core_dirs(self, dir1, dir2): - ndir1 = os.path.abspath(dir1) - ndir2 = os.path.abspath(dir2) + ndir1 = os.path.abspath(os.path.realpath(dir1)) + ndir2 = os.path.abspath(os.path.realpath(dir2)) if not os.path.exists(ndir1): os.makedirs(ndir1) if not os.path.exists(ndir2): |