Skip to content

Commit 4578625

Browse files
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 <[email protected]>
1 parent 3046f78 commit 4578625

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

make-debs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ set -xe
2020
base=${1:-/tmp/release}
2121
releasedir=$base/$NAME/WORKDIR
2222
rm -fr $(dirname $releasedir)
23-
mkdir -p $releasedir
2423
#
2524
# remove all files not under git so they are not
2625
# included in the distribution.
@@ -38,6 +37,7 @@ vers=$(git describe --match "v*" | sed s/^v//)
3837
#
3938
# rename the tarbal to match debian conventions and extract it
4039
#
40+
mkdir -p $releasedir
4141
mv ceph-$vers.tar.bz2 $releasedir/ceph_$vers.orig.tar.bz2
4242
tar -C $releasedir -jxf $releasedir/ceph_$vers.orig.tar.bz2
4343
#

0 commit comments

Comments
 (0)