Apache Nutch is an extensible and scalable web crawler
Fix a bug when there are spaces in CWD, as is common on Windows.
Douglass Cuttingf3797052388c
diff --git a/bin/nutch b/bin/nutchindex 5cfc30faa..f09e45643 100755--- a/bin/nutch+++ b/bin/nutch@@ -82,6 +82,9 @@ fiCLASSPATH=${NUTCH_CONF_DIR:=$NUTCH_HOME/conf}CLASSPATH=${CLASSPATH}:$JAVA_HOME/lib/tools.jar+# so that filenames w/ spaces are handled correctly in loops below+IFS=+# for developers, add plugins, job & test code to CLASSPATHif [ -d "$NUTCH_HOME/build/plugins" ]; thenCLASSPATH=${CLASSPATH}:$NUTCH_HOME/build@@ -93,9 +96,6 @@ if [ -d "$NUTCH_HOME/build/test/classes" ]; thenCLASSPATH=${CLASSPATH}:$NUTCH_HOME/build/test/classesfi-# so that filenames w/ spaces are handled correctly in loops below-IFS=-# for releases, add Nutch job to CLASSPATHfor f in $NUTCH_HOME/nutch-*.job; doCLASSPATH=${CLASSPATH}:$f;