From eb2df9cb704c61d653370cec785e29ce68895957 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Ferr=C3=A3o?= <2031761+viniciusferrao@users.noreply.github.com> Date: Mon, 12 Oct 2026 12:31:56 -0300 Subject: [PATCH] test(packaging): stage shared shell scriptlet sources MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Vinícius Ferrão <2031761+viniciusferrao@users.noreply.github.com> --- xCAT-test/lib/XCAT/Test/RPM.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-test/lib/XCAT/Test/RPM.pm b/xCAT-test/lib/XCAT/Test/RPM.pm index c959d2115..03ce6c8fe 100644 --- a/xCAT-test/lib/XCAT/Test/RPM.pm +++ b/xCAT-test/lib/XCAT/Test/RPM.pm @@ -21,7 +21,7 @@ sub build { XCAT::Test::Lifecycle::checked('tar', '-czf', "$top/SOURCES/$package-$version.tar.gz", '-C', repo_path('.'), $package); if ($package eq 'xCAT' || $package eq 'xCATsn') { - for my $source (glob repo_path('xCAT/*.lua')) { + for my $source (glob(repo_path('xCAT/*.lua')), glob(repo_path('xCAT/*.sh'))) { copy($source, "$top/SOURCES/" . basename($source)) or croak "copy $source: $!"; } XCAT::Test::Lifecycle::checked('/bin/sh', repo_path('build-utils/sync-xcat-apache-configs'), '--stage', "$top/SOURCES");