[Pkg-haskell-commits] darcs: haskell-hoogle: Hide error messages when find no txt files

kiwamu at debian.or.jp kiwamu at debian.or.jp
Tue Sep 11 23:34:56 UTC 2012


Tue Sep 11 23:31:49 UTC 2012  kiwamu at debian.or.jp
  * Hide error messages when find no txt files
  Ignore-this: 61eaa2e8a9985e1cae55bf5ad5a724c9

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

Tue Sep 11 23:31:49 UTC 2012  kiwamu at debian.or.jp
  * Hide error messages when find no txt files
  Ignore-this: 61eaa2e8a9985e1cae55bf5ad5a724c9
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-11 23:34:56.362326139 +0000
+++ new-haskell-hoogle//files_hoogle/update-hoogle	2012-09-11 23:34:56.390323861 +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*" | \
+find /usr/share/doc/ghc-doc/html/libraries/*/ -name "*.txt*" 2>/dev/null | \
   /usr/share/hoogle/tool/haddock_collect.hs $URLPREFIX $DATABASE_DIR/
 
 echo "Collect txt files on libghc-*-doc"
-find /usr/share/doc/libghc-*-doc/html/ -name "*.txt*" | \
+find /usr/share/doc/libghc-*-doc/html/ -name "*.txt*" 2>/dev/null | \
   /usr/share/hoogle/tool/haddock_collect.hs $URLPREFIX $DATABASE_DIR/
 
 # convert





More information about the Pkg-haskell-commits mailing list