From 108922fd30edec77533dc113b9f907c95ea54631 Mon Sep 17 00:00:00 2001 From: Pavel Odintsov Date: Tue, 11 Apr 2023 16:57:31 +0100 Subject: [PATCH] Unified logic for building RPM packages for ARM on CentOS platforms --- src/scripts/build_any_package.pl | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/scripts/build_any_package.pl b/src/scripts/build_any_package.pl index d6315fd..5b72189 100755 --- a/src/scripts/build_any_package.pl +++ b/src/scripts/build_any_package.pl @@ -284,14 +284,9 @@ DOC } mkdir "/tmp/result_data" or die "Cannot create result_data folder"; - my $copy_rpm_res = system("cp /root/rpmbuild/RPMS/x86_64/* /tmp/result_data"); + my $copy_rpm_res = system("cp /root/rpmbuild/RPMS/$machine_architecture/* /tmp/result_data"); if ($copy_rpm_res != 0) { - # TODO: remove it after debugging - warn "Folders: \n"; - - `ls -la /root/rpmbuild/RPMS`; - die "Cannot copy result rpm\n"; }