From 0e933c40fa7a41314675923714d2fe0fcdda2e18 Mon Sep 17 00:00:00 2001 From: Beni Peled Date: Thu, 16 Dec 2021 10:47:27 +0200 Subject: [PATCH] reloc: rename python-package to align with arch convention The names of the packages generated during the build, contain the `arch` in a weird and non-common location, The common convention is to always put the `arch` as a suffix before the dot of the file-extension, This commit aligns the python-package name with the common convention, Issue #9799 --- reloc/build_reloc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reloc/build_reloc.sh b/reloc/build_reloc.sh index bc6e751..746aa83 100755 --- a/reloc/build_reloc.sh +++ b/reloc/build_reloc.sh @@ -6,7 +6,7 @@ # SPDX-License-Identifier: Apache-2.0 print_usage() { - echo "build_reloc.sh --dest build/scylla-python3-package.tar.gz" + echo "build_reloc.sh --dest build/scylla-python3.tar.gz" echo " --packages specify python3 packages to be add on relocatable package" echo " --pip-packages specify pip packages to be add on relocatable package" echo " --dest specify destination path" @@ -57,7 +57,7 @@ VERSION=$(./SCYLLA-VERSION-GEN ${VERSION_OVERRIDE:+ --version "$VERSION_OVERRIDE # the former command should generate build/SCYLLA-PRODUCT-FILE and some other version # related files PRODUCT=`cat build/SCYLLA-PRODUCT-FILE` -DEST=build/$PRODUCT-python3-$(arch)-package.tar.gz +DEST=build/$PRODUCT-python3-$(arch).tar.gz if [ "$CLEAN" = "yes" ]; then rm -rf build