2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-10-21 23:28:19 +00:00

test(packaging): stage shared shell scriptlet sources

Signed-off-by: Vinícius Ferrão <2031761+viniciusferrao@users.noreply.github.com>
This commit is contained in:
Vinícius Ferrão
2026-10-12 12:31:56 -03:00
parent 88b2df8ec5
commit eb2df9cb70
+1 -1
View File
@@ -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");