Author: jnioche
Date: Thu Apr 18 09:26:07 2013
New Revision: 1469241
URL: http://svn.apache.org/r1469241
Log:
Fixed detection of job file for distributed mode
Modified:
nutch/branches/2.x/src/bin/crawl
Modified: nutch/branches/2.x/src/bin/crawl
URL:
http://svn.apache.org/viewvc/nutch/branches/2.x/src/bin/crawl?rev=1469241&r1=1469240&r2=1469241&view=diff
==============================================================================
--- nutch/branches/2.x/src/bin/crawl (original)
+++ nutch/branches/2.x/src/bin/crawl Thu Apr 18 09:26:07 2013
@@ -73,7 +73,7 @@ addDays=0
# determines whether mode based on presence of job file
mode=local
-if [ -f ../nutch-*.job ]; then
+if [ -f ../*nutch-*.job ]; then
mode=distributed
fi