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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user