diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2017-02-15 17:55:19 +0300 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2017-02-15 17:58:08 +0300 |
commit | e42ceb97ff04952223dfcdc56df5046a3d78f74a (patch) | |
tree | 893e8e70a11671637d58889196753c3978b233c3 | |
parent | 9d0a8298ea60cc931d3c4e53763ea35a2fef7b6b (diff) |
Follow symlinks when reading packages
Our instructions for making a custom Cygwin package server rely on that.
-rwxr-xr-x | calm/package.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/calm/package.py b/calm/package.py index 41c97c6..5d58ddc 100755 --- a/calm/package.py +++ b/calm/package.py @@ -86,7 +86,7 @@ def read_packages(rel_area, arch): releasedir = os.path.join(rel_area, root) logging.debug('reading packages from %s' % releasedir) - for (dirpath, subdirs, files) in os.walk(releasedir): + for (dirpath, subdirs, files) in os.walk(releasedir, followlinks=True): read_package(packages, rel_area, dirpath, files) logging.debug("%d packages read" % len(packages)) |