Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

[2019-02] iterate_dir: Include symlinks to dirs also #97

Merged
merged 1 commit into from
Apr 15, 2019

Conversation

radical
Copy link
Member

@radical radical commented Apr 12, 2019

Given:
for root, subdirs, filelist in os.walk(dir):

.. symlinks to directories are only returned in subdirs. So, they need
to handled explicitly.

This meant that when bockbuild tried to zip up the contents of mono and
msbuild to move to the staging directory, then such symlinks were not
picked up thus breaking the build.

(cherry picked from commit 5d818c1)

Given:
`for root, subdirs, filelist in os.walk(dir):`

.. symlinks to directories are only returned in `subdirs`. So, they need
to handled explicitly.

This meant that when bockbuild tried to zip up the contents of mono and
msbuild to move to the staging directory, then such symlinks were not
picked up thus breaking the build.

(cherry picked from commit 5d818c1)
@radical radical changed the title iterate_dir: Include symlinks to dirs also [2019-02] iterate_dir: Include symlinks to dirs also Apr 12, 2019
@radical radical merged commit d30329d into mono:2019-02 Apr 15, 2019
@radical radical deleted the iterate-dir-fix-2019-02 branch April 15, 2019 18:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant