mirror of
https://github.com/ceph/ceph
synced 2025-04-18 21:36:09 +00:00
build: small script tweak to allow different build dirs
Move the mkdir line to allow for other builds dir naming schemes outside of what appears in the .gitignore file. A tiny bit of added flexibility at little cost. Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
parent
3046f78d69
commit
4578625ce0
@ -20,7 +20,6 @@ set -xe
|
||||
base=${1:-/tmp/release}
|
||||
releasedir=$base/$NAME/WORKDIR
|
||||
rm -fr $(dirname $releasedir)
|
||||
mkdir -p $releasedir
|
||||
#
|
||||
# remove all files not under git so they are not
|
||||
# included in the distribution.
|
||||
@ -38,6 +37,7 @@ vers=$(git describe --match "v*" | sed s/^v//)
|
||||
#
|
||||
# rename the tarbal to match debian conventions and extract it
|
||||
#
|
||||
mkdir -p $releasedir
|
||||
mv ceph-$vers.tar.bz2 $releasedir/ceph_$vers.orig.tar.bz2
|
||||
tar -C $releasedir -jxf $releasedir/ceph_$vers.orig.tar.bz2
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user