Skip to content

Apache Lucene open-source search software

- Modified to clean dirs/files created by run.sh.

Otis Gospodneticbc40fa1994cc
diff --git a/sandbox/contributions/webcrawler-LARM/cleanlastrun.sh b/sandbox/contributions/webcrawler-LARM/cleanlastrun.sh
index 730d2165b55..2102e045b4d 100755
--- a/sandbox/contributions/webcrawler-LARM/cleanlastrun.sh
+++ b/sandbox/contributions/webcrawler-LARM/cleanlastrun.sh
@@ -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