Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

Fix breakage in "if" syntax.

Andrzej Bialecki2e70dfdbcb29
diff --git a/bin/nutch b/bin/nutch
index 1e2610322..797375ff8 100755
--- a/bin/nutch
+++ b/bin/nutch
@@ -148,7 +148,7 @@ if [ -d "${NUTCH_HOME}/build/native" -o -d "${NUTCH_HOME}/lib/native" ]; then
fi
fi
-if [ $cygwin -a "X${JAVA_LIBRARY_PATH}" != "X" ]; then
+if [ $cygwin = true -a "X${JAVA_LIBRARY_PATH}" != "X" ]; then
JAVA_LIBRARY_PATH=`cygpath -p -w "$JAVA_LIBRARY_PATH"`
fi