You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nutch.apache.org by cu...@apache.org on 2006/03/29 02:04:53 UTC

svn commit: r389634 - /lucene/nutch/trunk/bin/nutch

Author: cutting
Date: Tue Mar 28 16:04:51 2006
New Revision: 389634

URL: http://svn.apache.org/viewcvs?rev=389634&view=rev
Log:
Fix a bug when there are spaces in CWD, as is common on Windows.

Modified:
    lucene/nutch/trunk/bin/nutch

Modified: lucene/nutch/trunk/bin/nutch
URL: http://svn.apache.org/viewcvs/lucene/nutch/trunk/bin/nutch?rev=389634&r1=389633&r2=389634&view=diff
==============================================================================
--- lucene/nutch/trunk/bin/nutch (original)
+++ lucene/nutch/trunk/bin/nutch Tue Mar 28 16:04:51 2006
@@ -82,6 +82,9 @@
 CLASSPATH=${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 CLASSPATH
 if [ -d "$NUTCH_HOME/build/plugins" ]; then
   CLASSPATH=${CLASSPATH}:$NUTCH_HOME/build
@@ -92,9 +95,6 @@
 if [ -d "$NUTCH_HOME/build/test/classes" ]; then
   CLASSPATH=${CLASSPATH}:$NUTCH_HOME/build/test/classes
 fi
-
-# so that filenames w/ spaces are handled correctly in loops below
-IFS=
 
 # for releases, add Nutch job to CLASSPATH
 for f in $NUTCH_HOME/nutch-*.job; do