Repository: spark Updated Branches: refs/heads/master fe65beeaa -> eefb90d38
SPARK-1651: Delete existing deployment directory Small bug fix to make sure the "spark contents" are copied to the deployment directory correctly. Author: Rahul Singhal <[email protected]> Closes #573 from rahulsinghaliitd/SPARK-1651 and squashes the following commits: 402c999 [Rahul Singhal] SPARK-1651: Delete existing deployment directory Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/eefb90d3 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/eefb90d3 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/eefb90d3 Branch: refs/heads/master Commit: eefb90d382747c29d7537630ed5ad2c783bb8263 Parents: fe65bee Author: Rahul Singhal <[email protected]> Authored: Sun Apr 27 15:50:48 2014 -0700 Committer: Patrick Wendell <[email protected]> Committed: Sun Apr 27 15:50:48 2014 -0700 ---------------------------------------------------------------------- make-distribution.sh | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/eefb90d3/make-distribution.sh ---------------------------------------------------------------------- diff --git a/make-distribution.sh b/make-distribution.sh index 661d1ff..4ac80ef 100755 --- a/make-distribution.sh +++ b/make-distribution.sh @@ -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"
