haunt-asset-follow-symlinks.patch 812 B

12345678910111213141516171819202122232425
  1. From 80f8825b029f7ff7b6dc0c4d5e9056a035f8ee71 Mon Sep 17 00:00:00 2001
  2. From: Oleg Pykhalov <go.wigust@gmail.com>
  3. Date: Mon, 12 Feb 2018 10:56:05 +0300
  4. Subject: [PATCH] haunt: asset: Follow symlinks.
  5. * haunt/asset.scm (directory-assets)[file-system-fold]: Add 'stat'
  6. argument.
  7. ---
  8. haunt/asset.scm | 2 +-
  9. 1 file changed, 1 insertion(+), 1 deletion(-)
  10. diff --git a/haunt/asset.scm b/haunt/asset.scm
  11. index 2d9e27b..a4c60cd 100644
  12. --- a/haunt/asset.scm
  13. +++ b/haunt/asset.scm
  14. @@ -79,4 +79,4 @@ files in DIRECTORY that match KEEP?, recursively."
  15. (define (err file-name stat errno memo)
  16. (error "asset processing failed with errno: " file-name errno))
  17. - (file-system-fold enter? leaf noop noop noop err '() directory))
  18. + (file-system-fold enter? leaf noop noop noop err '() directory stat))
  19. --
  20. 2.15.1