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

update bldconserver.pl for RHEL 7.1 ppc64le

Former-commit-id: 73185ac9373dfea088ea85ce596f0b985002cc35
This commit is contained in:
ligc 2014-12-18 11:04:50 +08:00
parent 6446653a0e
commit fc80ecccec

View File

@ -10,6 +10,8 @@ if (grep /Red Hat Enterprise Linux Server release 5\.\d/, @output) {
$os = "rh5";
} elsif (grep /Red Hat Enterprise Linux Server release 6\.\d/, @output) {
$os = "rh6";
} elsif (grep /Red Hat Enterprise Linux Server release 7\.\d/, @output) {
$os = "rh7";
} elsif (grep /SUSE Linux Enterprise Server 10/, @output) {
$os = "sles10";
} elsif (grep /SUSE Linux Enterprise Server 11/, @output) {
@ -46,7 +48,7 @@ if ( (! -f "$pwd/conserver-8.1.16.tar.gz")
my $blddir;
if ($os eq "rh5") {
$blddir = "/usr/src/redhat";
} elsif ($os eq "rh6" || $os eq "fedora") {
} elsif ($os eq "rh6" || $os eq "fedora" || $os eq "rh7") {
$blddir = "/root/rpmbuild";
} elsif ($os =~ /sles1\d/) {
$blddir = "/usr/src/packages";