1
0
Fork 0

fix search with no results on deployed tekuti

* tekuti/page-helpers.scm: Be patient with git errors. Dunno why they
  happen, though.
This commit is contained in:
Andy Wingo 2008-04-13 00:05:51 +02:00
parent 8e19b46ec8
commit 29bc9314dd

View file

@ -253,7 +253,10 @@
(dsu-sort
(filter
identity
(match-lines (git "grep" "-l" "-F" string master "--" "*/content")
(match-lines (or (false-if-git-error
;; dunno why git errors sometimes here...
(git "grep" "-l" "-F" string master "--" "*/content"))
"")
":(.+)/content$" (_ key)
(post-from-key master key)))
post-timestamp