diff --git a/sahara/plugins/mapr/resources/install_scala.sh b/sahara/plugins/mapr/resources/install_scala.sh index 0a119f60..bd7eddce 100644 --- a/sahara/plugins/mapr/resources/install_scala.sh +++ b/sahara/plugins/mapr/resources/install_scala.sh @@ -3,7 +3,7 @@ #Current available version DEF_VERSION="2.11.5" -VERSION="$(wget -qO- http://www.scala-lang.org|grep 'scala-version'|grep -Eo '([0-9]\.?)+')" +VERSION=$(wget -qO- http://www.scala-lang.org|grep 'scala-version'|grep -Eo '([0-9]\.?)+') if [ $? != 0 -o -z ${VERSION} ]; then VERSION=${DEF_VERSION}