According to Heriberto Cantu:
> I use a simple patch in rundig to solve the problem, maybe you can use
> it too.
>  
> case "$alt" in
> -a)
>   ( cd $DBDIR && test -f db.docdb.work &&
>     for f in *.work
>     do
>         mv -f $f `basename $f .work`
>     done && mv -f db.words.db.work_weakcmpr db.words.db_weakcmpr ) ;;   #
> <-- line patched
> esac

Mine is like it, but with an added test.  I'm committing it now.

Index: installdir/rundig
===================================================================
RCS file: /opt/htdig/cvs/htdig3/installdir/rundig,v
retrieving revision 1.7.4.1
diff -u -p -r1.7.4.1 rundig
--- installdir/rundig   2000/05/31 10:54:43     1.7.4.1
+++ installdir/rundig   2001/01/11 18:33:04
@@ -41,7 +41,9 @@ case "$alt" in
     for f in *.work
     do
         mv -f $f `basename $f .work`
-    done ) ;;
+    done
+    test -f db.words.db.work_weakcmpr &&
+       mv -f db.words.db.work_weakcmpr db.words.db_weakcmpr) ;;
 esac
 $BINDIR/htnotify $opts
 # If you want to use the soundex and (or) metaphone fuzzy matchings,

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] 
You will receive a message to confirm this. 


Reply via email to