Skip to content

Commit

Permalink
SPARK-1651: Delete existing deployment directory
Browse files Browse the repository at this point in the history
Small bug fix to make sure the "spark contents" are copied to the
deployment directory correctly.

Author: Rahul Singhal <[email protected]>

Closes apache#573 from rahulsinghaliitd/SPARK-1651 and squashes the following commits:

402c999 [Rahul Singhal] SPARK-1651: Delete existing deployment directory
  • Loading branch information
Rahul Singhal authored and pwendell committed Apr 27, 2014
1 parent fe65bee commit eefb90d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions make-distribution.sh
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ fi
if [ "$MAKE_TGZ" == "true" ]; then
TARDIR_NAME=spark-$VERSION-bin-$NAME
TARDIR="$FWDIR/$TARDIR_NAME"
rm -rf "$TARDIR"
cp -r "$DISTDIR" "$TARDIR"
tar czf "spark-$VERSION-bin-$NAME.tgz" -C "$FWDIR" "$TARDIR_NAME"
rm -rf "$TARDIR"
Expand Down

0 comments on commit eefb90d

Please sign in to comment.