Repository: mahout Updated Branches: refs/heads/master 99d8ce24b -> 57317a51a
MAHOUT-1797: Typos for SPARK_ASSEMBLY_BIN Project: http://git-wip-us.apache.org/repos/asf/mahout/repo Commit: http://git-wip-us.apache.org/repos/asf/mahout/commit/57317a51 Tree: http://git-wip-us.apache.org/repos/asf/mahout/tree/57317a51 Diff: http://git-wip-us.apache.org/repos/asf/mahout/diff/57317a51 Branch: refs/heads/master Commit: 57317a51a8da516d6e25000eae7db8b4102cbda3 Parents: 99d8ce2 Author: Andrew Musselman <[email protected]> Authored: Fri Jan 15 19:22:41 2016 -0800 Committer: Andrew Musselman <[email protected]> Committed: Fri Jan 15 19:22:41 2016 -0800 ---------------------------------------------------------------------- bin/mahout | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mahout/blob/57317a51/bin/mahout ---------------------------------------------------------------------- diff --git a/bin/mahout b/bin/mahout index b16d51b..c58e865 100755 --- a/bin/mahout +++ b/bin/mahout @@ -220,10 +220,10 @@ then exit -1 fi - SPARK_ASSEBMLY_BIN="${MAHOUT_HOME}/bin/mahout-spark-class.sh" - if [ -x "${SPARK_ASSEBMLY_BIN}" ]; then - SPARK_ASSEMBLY_CLASSPATH=$("${SPARK_ASSEBMLY_BIN}" 2>/dev/null) - CLASSPATH="${CLASSPATH}:${SPARK_ASSEBMLY_BIN}" + SPARK_ASSEMBLY_BIN="${MAHOUT_HOME}/bin/mahout-spark-class.sh" + if [ -x "${SPARK_ASSEMBLY_BIN}" ]; then + SPARK_ASSEMBLY_CLASSPATH=$("${SPARK_ASSEMBLY_BIN}" 2>/dev/null) + CLASSPATH="${CLASSPATH}:${SPARK_ASSEMBLY_BIN}" else echo "Cannot find Spark assembly classpath. Is 'SPARK_HOME' set?" exit -1
