diff options
Diffstat (limited to 'make-distribution.sh')
-rwxr-xr-x | make-distribution.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/make-distribution.sh b/make-distribution.sh index 855475864d..feb13d52f9 100755 --- a/make-distribution.sh +++ b/make-distribution.sh @@ -18,6 +18,7 @@ FWDIR="$(cd `dirname $0`; pwd)" DISTDIR="$FWDIR/dist" # Get version from SBT +export TERM=dumb # Prevents color codes in SBT output VERSION=$($FWDIR/sbt/sbt "show version" | tail -1 | cut -f 2) echo "Making distribution for Spark $VERSION in $DISTDIR..." @@ -35,4 +36,4 @@ cp $FWDIR/repl/target/*.jar "$DISTDIR/jars/" # Copy other things cp -r "$FWDIR/bin" "$DISTDIR" cp -r "$FWDIR/conf" "$DISTDIR" -cp "$FWDIR/run" "$FWDIR/spark-shell" "$DISTDIR"
\ No newline at end of file +cp "$FWDIR/run" "$FWDIR/spark-shell" "$DISTDIR" |