From: W. Trevor King Date: Wed, 12 Jun 2013 03:16:09 +0000 (-0400) Subject: build-asy.py: Follow symlinks when walking the figure tree X-Git-Tag: v1.0~109 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a79868a2d9ef4c3455861d3b34db1f7f1e8b9446;p=thesis.git build-asy.py: Follow symlinks when walking the figure tree This makes it easier to use my hacked-together build.sh until I have time to fix the SCons build. --- diff --git a/src/figures/asy/build-asy.py b/src/figures/asy/build-asy.py index 675860d..705eb89 100755 --- a/src/figures/asy/build-asy.py +++ b/src/figures/asy/build-asy.py @@ -36,7 +36,7 @@ def file_hash(path): def find_originals(root): originals = {} - for dirpath,dirnames,filenames in _os.walk(root): + for dirpath,dirnames,filenames in _os.walk(root, followlinks=True): if dirpath == _os_path.abspath(asydir): continue for filename in filenames: