From 31e93908c958714ef450d1f56af2a7e5b0ba5406 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Sun, 31 May 2015 17:58:49 -0400 Subject: [PATCH] make_dist.sh: rename from bin/make_dist_tarball.sh Signed-off-by: Sage Weil --- bin/make_dist_tarball.sh => make_dist.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) rename bin/make_dist_tarball.sh => make_dist.sh (85%) diff --git a/bin/make_dist_tarball.sh b/make_dist.sh similarity index 85% rename from bin/make_dist_tarball.sh rename to make_dist.sh index bdf1af282f2..1724e6b407b 100755 --- a/bin/make_dist_tarball.sh +++ b/make_dist.sh @@ -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" @@ -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