Skip to content

Commit

Permalink
make_dist.sh: rename from bin/make_dist_tarball.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Sage Weil <[email protected]>
  • Loading branch information
liewegas committed May 31, 2015
1 parent f3fe18a commit 31e9390
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions bin/make_dist_tarball.sh → make_dist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ if [ ! -d .git ]; then
exit 1
fi

bindir=`dirname $0`

version=$1
[ -z "$version" ] && version=`git describe | cut -c 2-`
outfile="ceph-$version"
Expand All @@ -26,10 +24,10 @@ rm -f $outfile.tar $outfile.tar.gz

# build new tarball
echo "building tarball..."
$bindir/git-archive-all.sh --prefix ceph-$version/ \
--verbose \
--ignore corpus \
$outfile.tar
bin/git-archive-all.sh --prefix ceph-$version/ \
--verbose \
--ignore corpus \
$outfile.tar
echo "compressing to gz and bz2..."
gzip -k -9 $outfile.tar
bzip2 -9 $outfile.tar
Expand Down

0 comments on commit 31e9390

Please sign in to comment.