build-asy.py: Follow symlinks when walking the figure tree
authorW. Trevor King <wking@tremily.us>
Wed, 12 Jun 2013 03:16:09 +0000 (23:16 -0400)
committerW. Trevor King <wking@tremily.us>
Wed, 12 Jun 2013 03:16:09 +0000 (23:16 -0400)
This makes it easier to use my hacked-together build.sh until I have
time to fix the SCons build.

src/figures/asy/build-asy.py

index 675860dd461e5901d3ffcfca61cfaba4d6a1afb9..705eb89464df7ed5630208067162e1a6eae2ea9e 100755 (executable)
@@ -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: