From 1335349ccd46f9ada9e096e5ea37504118b8c23d Mon Sep 17 00:00:00 2001 From: yenienserrano Date: Tue, 5 Dec 2023 11:15:50 +0100 Subject: [PATCH] fix script build all packages --- dev-tools/build-packages/build-packages.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dev-tools/build-packages/build-packages.sh b/dev-tools/build-packages/build-packages.sh index e7733f0765e0..c1d8015da59d 100644 --- a/dev-tools/build-packages/build-packages.sh +++ b/dev-tools/build-packages/build-packages.sh @@ -29,8 +29,9 @@ build_tar() { build_deb() { echo "Building deb package..." + name_package_tar=$(find $output -name "*.tar.gz") cd ./deb - bash ./launcher.sh -v $version -r $revision -p file://$output/$name_package_tar + bash ./launcher.sh -v $version -r $revision -p file://$name_package_tar name_package_tar=$(ls ./output) echo "Moving deb package to $output/deb" mv $current_path/deb/output $output/deb @@ -39,8 +40,9 @@ build_deb() { build_rpm() { echo "Building rpm package..." + name_package_tar=$(find $output -name "*.tar.gz") cd ./rpm - bash ./launcher.sh -v $version -r $revision -p file://$output/$name_package_tar + bash ./launcher.sh -v $version -r $revision -p file://$name_package_tar echo "Moving rpm package to $output/rpm" mv $current_path/rpm/output $output/rpm cd ../