[Pkg-haskell-commits] darcs: haskell-hoogle: Show errors if there are any

Joachim Breitner mail at joachim-breitner.de
Tue Sep 18 09:21:29 UTC 2012


Tue Sep 18 09:15:39 UTC 2012  Joachim Breitner <mail at joachim-breitner.de>
  * Show errors if there are any
  Ignore-this: 5d6e5722fad80e822dc0a91586818079
  The commands should be written such that any expected situations (i.e. no such
  directory) do not lead to an error, so that real errors are visible. This ought
  to be the case now.

    M ./files_hoogle/update-hoogle -2 +2

Tue Sep 18 09:15:39 UTC 2012  Joachim Breitner <mail at joachim-breitner.de>
  * Show errors if there are any
  Ignore-this: 5d6e5722fad80e822dc0a91586818079
  The commands should be written such that any expected situations (i.e. no such
  directory) do not lead to an error, so that real errors are visible. This ought
  to be the case now.
diff -rN -u old-haskell-hoogle//files_hoogle/update-hoogle new-haskell-hoogle//files_hoogle/update-hoogle
--- old-haskell-hoogle//files_hoogle/update-hoogle	2012-09-18 09:21:29.658441872 +0000
+++ new-haskell-hoogle//files_hoogle/update-hoogle	2012-09-18 09:21:29.686354692 +0000
@@ -16,11 +16,11 @@
 $HOOGLE data keyword
 
 echo "Collect txt files on ghc-doc"
-find /usr/share/doc/ghc-doc/html/libraries/*/ -name "*.txt*" 2>/dev/null | \
+find /usr/share/doc/ghc-doc/html/libraries/ -name "*.txt*" | \
   haddock-collect $URLPREFIX $DATABASE_DIR/
 
 echo "Collect txt files on libghc-*-doc"
-find /usr/share/doc/libghc-*-doc/html -wholename "/usr/share/doc/libghc-*-doc/html/*.txt" 2>/dev/null | \
+find /usr/share/doc/ -wholename "/usr/share/doc/libghc-*-doc/html/*.txt" | \
   haddock-collect $URLPREFIX $DATABASE_DIR/
 
 # convert





More information about the Pkg-haskell-commits mailing list