Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

fix bin/nutch: line 152: cygpath: command not found on linux (FC5), hope i am not breaking it for some other env

Sami Siren1dcd14be4768
diff --git a/bin/nutch b/bin/nutch
index 1e2610322..0beea9d2b 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 -a "X${JAVA_LIBRARY_PATH}" != "X"; then
JAVA_LIBRARY_PATH=`cygpath -p -w "$JAVA_LIBRARY_PATH"`
fi