mirror of
https://github.com/xcat2/xcat-dep.git
synced 2024-11-21 09:01:46 +00:00
build cpio-lang 2.11-20 on sles 10
Former-commit-id: e6ddc4ade4f51a0ce08e074ca1a7b7c7e7fcbb16
This commit is contained in:
parent
85d20f6066
commit
2efadc56cf
@ -88,11 +88,9 @@ if ( @rpm == 0 ) {
|
||||
print "The rpm file was not generated successfully\n";
|
||||
exit 1;
|
||||
} else {
|
||||
$objrpm = $rpm[0];
|
||||
chomp $objrpm;
|
||||
$cmd = "mkdir -p $dstdir";
|
||||
&runcmd ($cmd);
|
||||
$cmd = "cp -rf $objrpm $dstdir";
|
||||
$cmd = "cp -rf $blddir/RPMS/$arch/cpio*rpm $dstdir";
|
||||
&runcmd ($cmd);
|
||||
print "The obj file has been built successfully, you can get it here: $dstdir\n";
|
||||
exit 0;
|
||||
|
Loading…
Reference in New Issue
Block a user