You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by ot...@apache.org on 2002/09/14 21:22:45 UTC

cvs commit: jakarta-lucene-sandbox/contributions/webcrawler-LARM cleanlastrun.sh

otis        2002/09/14 12:22:45

  Modified:    contributions/webcrawler-LARM cleanlastrun.sh
  Log:
  - Modified to clean dirs/files created by run.sh.
  
  Revision  Changes    Path
  1.2       +11 -2     jakarta-lucene-sandbox/contributions/webcrawler-LARM/cleanlastrun.sh
  
  Index: cleanlastrun.sh
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene-sandbox/contributions/webcrawler-LARM/cleanlastrun.sh,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- cleanlastrun.sh	4 May 2002 13:58:46 -0000	1.1
  +++ cleanlastrun.sh	14 Sep 2002 19:22:45 -0000	1.2
  @@ -1,4 +1,13 @@
   #!/bin/sh
  -rm -r logs
  -rm -r cachingqueue
   
  +BASE_DIR=./runtime
  +LOG_DIR=$BASE_DIR/logs
  +CACHE_DIR=$BASE_DIR/cachingqueue
  +SLEEP_TIME=2
  +
  +echo Removing $LOG_DIR...
  +sleep $SLEEP_TIME
  +rm -r $LOG_DIR
  +echo Removing $CACHE_DIR...
  +sleep $SLEEP_TIME
  +rm -r $CACHE_DIR
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>