Syntax error when running build-reuters.sh script
-------------------------------------------------
Key: MAHOUT-601
URL: https://issues.apache.org/jira/browse/MAHOUT-601
Project: Mahout
Issue Type: Bug
Components: Clustering
Affects Versions: 0.4
Reporter: Frank Scholten
Fix For: 0.5
Attachments: MAHOUT-601.patch
When running examples/bin/build-reuters.sh from the root of the checked out
mahout source tree I get the following syntax error:
examples/bin/build-reuters.sh: 28: Syntax error: "(" unexpected (expecting "fi")
This is because the script uses array initialization syntax supported by the
bash shell, algorithm=( kmeans lda ), but it's shebang line uses the bourne
shell: #!/bin/sh
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.