mirror of
https://github.com/xcat2/xcat-dep.git
synced 2024-11-21 17:11:45 +00:00
create rh8 rpmbuild dir
This commit is contained in:
parent
e7172c8f63
commit
4bbb5bd7d3
@ -60,7 +60,7 @@ if ( (! -f "$pwd/ipmitool-$version.tar.gz")
|
||||
my $blddir;
|
||||
if ($os eq "rh5") {
|
||||
$blddir = "/usr/src/redhat";
|
||||
} elsif (($os eq "rh6") || ($os eq "rh7")) {
|
||||
} elsif ($os =~ /rh\d/) {
|
||||
$blddir = "/root/rpmbuild";
|
||||
} elsif ($os =~ /sles1\d/) {
|
||||
$blddir = "/usr/src/packages";
|
||||
@ -119,12 +119,6 @@ if (! -f $objrpm) {
|
||||
exit 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
sub runcmd () {
|
||||
my $cmd = shift;
|
||||
print "++++Trying to run command: [$cmd]\n";
|
||||
|
Loading…
Reference in New Issue
Block a user