[calm - Cygwin server-side packaging maintenance script] branch master, updated. 20160705-48-ge42ceb9

jturney@sourceware.org jturney@sourceware.org
Wed Feb 15 15:01:00 GMT 2017




https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=e42ceb97ff04952223dfcdc56df5046a3d78f74a

commit e42ceb97ff04952223dfcdc56df5046a3d78f74a
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Wed Feb 15 14:55:19 2017 +0000

    Follow symlinks when reading packages
    
    Our instructions for making a custom Cygwin package server rely on that.


Diff:
---
 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))



More information about the Cygwin-apps-cvs mailing list