2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2024-11-21 17:11:45 +00:00

build cpio-lang 2.11-20 on sles 10

Former-commit-id: e6ddc4ade4f51a0ce08e074ca1a7b7c7e7fcbb16
This commit is contained in:
xq2005 2013-05-29 14:55:20 +00:00
parent 85d20f6066
commit 2efadc56cf

View File

@ -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;