summaryrefslogtreecommitdiff
path: root/test cases/unit/113 classpath/com/mesonbuild/Simple.java
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2025-04-11 11:57:12 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2025-04-14 21:04:15 +0300
commit028abfe87c5d3b4dfe8a29472119aa1581beb215 (patch)
tree517bb88423d311d6065f4a3098a520f863fb682a /test cases/unit/113 classpath/com/mesonbuild/Simple.java
parentbb776a5fe13d60166488712a40b6f8bde7738e0e (diff)
downloadmeson-028abfe87c5d3b4dfe8a29472119aa1581beb215.tar.gz
minstall: Don't treat symlinks to directories as directories in do_copydir()
As documented in https://docs.python.org/3/library/os.html#os.walk: > dirnames is a list of the names of the subdirectories in dirpath > (including symlinks to directories, and excluding '.' and '..') So currently, we treat any symlink to a directory as a directory instead of as a symlink. In practice, this means symlinks to directories are installed as empty directories instead of as symlinks. Let's make sure the symlinks are kept intact by checking for symlinks when we iterate over the directory names and treating any symlinks we find as files instead of as symlinks.
Diffstat (limited to 'test cases/unit/113 classpath/com/mesonbuild/Simple.java')
0 files changed, 0 insertions, 0 deletions