From: John Mulligan Date: Sat, 14 Sep 2024 10:31:23 +0000 (-0400) Subject: build: small script tweak to allow different build dirs X-Git-Tag: testing/56408~36^2~2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=76f2cf0836adf8d8a4e20a21d47cfe17dbe24b0c;p=ceph-ci.git 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 (cherry picked from commit 4578625ce067f7c270018612aad50adb5ac74b94) --- diff --git a/make-debs.sh b/make-debs.sh index ed79df777e5..6857b211736 100755 --- a/make-debs.sh +++ b/make-debs.sh @@ -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 #