diff options
author | Rahul Singhal <rahul.singhal@guavus.com> | 2014-04-27 15:50:48 -0700 |
---|---|---|
committer | Patrick Wendell <pwendell@gmail.com> | 2014-04-27 15:50:48 -0700 |
commit | eefb90d382747c29d7537630ed5ad2c783bb8263 (patch) | |
tree | 1010fe6a68a31c1097055822194d19cc71279cd3 | |
parent | fe65beeaab737a1c9922b84452ca661b39075cfa (diff) | |
download | spark-eefb90d382747c29d7537630ed5ad2c783bb8263.tar.gz spark-eefb90d382747c29d7537630ed5ad2c783bb8263.tar.bz2 spark-eefb90d382747c29d7537630ed5ad2c783bb8263.zip |
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 <rahul.singhal@guavus.com>
Closes #573 from rahulsinghaliitd/SPARK-1651 and squashes the following commits:
402c999 [Rahul Singhal] SPARK-1651: Delete existing deployment directory
-rwxr-xr-x | make-distribution.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/make-distribution.sh b/make-distribution.sh index 661d1ff5e5..4ac80efae0 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" |