Repository: spark
Updated Branches:
  refs/heads/branch-1.0 da26f9b8e -> 3c6c6c265


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
(cherry picked from commit eefb90d382747c29d7537630ed5ad2c783bb8263)

Signed-off-by: Patrick Wendell <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/3c6c6c26
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/3c6c6c26
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/3c6c6c26

Branch: refs/heads/branch-1.0
Commit: 3c6c6c2650455dab6c329933f3612afea8f30bec
Parents: da26f9b
Author: Rahul Singhal <[email protected]>
Authored: Sun Apr 27 15:50:48 2014 -0700
Committer: Patrick Wendell <[email protected]>
Committed: Sun Apr 27 15:51:00 2014 -0700

----------------------------------------------------------------------
 make-distribution.sh | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/3c6c6c26/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"

Reply via email to