Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

Fixed detection of job file for distributed mode

Julien Nioche5903a6b9b2ff
diff --git a/src/bin/crawl b/src/bin/crawl
index 4844d825d..56dfa40ef 100644
--- a/src/bin/crawl
+++ b/src/bin/crawl
@@ -72,7 +72,7 @@ numThreads=50
# determines whether mode based on presence of job file
mode=local
-if [ -f ../nutch-*.job ]; then
+if [ -f ../*nutch-*.job ]; then
mode=distributed
fi