Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

Fix for nutch shell script problem on Mac OS X. Submitted by Erik Hatcher

Piotr Kosiorowski77c412fe233c
diff --git a/bin/nutch b/bin/nutch
index 9cf39b51d..2a27e0cbc 100755
--- a/bin/nutch
+++ b/bin/nutch
@@ -180,7 +180,7 @@ else
fi
# cygwin path translation
-if expr match `uname` 'CYGWIN*' > /dev/null; then
+if expr `uname` : 'CYGWIN*' > /dev/null; then
CLASSPATH=`cygpath -p -w "$CLASSPATH"`
fi