[Pkg-haskell-commits] darcs: haskell-hoogle: Progress bar with '.' char.

kiwamu at debian.or.jp kiwamu at debian.or.jp
Thu Oct 4 23:34:38 UTC 2012


Thu Oct  4 23:31:47 UTC 2012  kiwamu at debian.or.jp
  * Progress bar with '.' char.
  Ignore-this: 1e152dc81e1de1a7d8b158dce37e2a50

    M ./files_hoogle/update-hoogle -1 +3

Thu Oct  4 23:31:47 UTC 2012  kiwamu at debian.or.jp
  * Progress bar with '.' char.
  Ignore-this: 1e152dc81e1de1a7d8b158dce37e2a50
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-10-04 23:34:38.707996956 +0000
+++ new-haskell-hoogle//files_hoogle/update-hoogle	2012-10-04 23:34:38.715241237 +0000
@@ -16,11 +16,13 @@
 $HOOGLE data keyword
 
 # convert
+echo -n "Converting databases."
 TXTFILES=`find /usr/lib/ghc-doc/hoogle/ -name "*.txt"`
 for i in $TXTFILES; do
-    echo "Convert $i"
+    echo -n "."
     $HOOGLE convert $i $DATABASE_DIR/`basename $i`.hoo >/dev/null 2>&1
 done
+echo " done"
 
 # combine
 cd $DATABASE_DIR/ && $HOOGLE combine *.hoo





More information about the Pkg-haskell-commits mailing list