mirror of
https://github.com/xcat2/xcat-dep.git
synced 2024-11-22 01:21:44 +00:00
To reduce the hard code, add release as a variable so we know to change it
This commit is contained in:
parent
6e10ae0596
commit
e934a8140d
@ -1,6 +1,7 @@
|
||||
#! /usr/bin/perl
|
||||
|
||||
my $version = "1.8.18";
|
||||
my $release = "0";
|
||||
|
||||
#check the distro
|
||||
$cmd = "cat /etc/*release";
|
||||
@ -95,7 +96,7 @@ if (! grep /libcrypto.so/, @output) {
|
||||
exit 1;
|
||||
}
|
||||
|
||||
my $objrpm = "$blddir/RPMS/$arch/ipmitool-xcat-$version-1.$arch.rpm";
|
||||
my $objrpm = "$blddir/RPMS/$arch/ipmitool-xcat-$version-$release.$arch.rpm";
|
||||
my $dstdir = "/tmp/build/$os/$arch";
|
||||
|
||||
# check the build result
|
||||
|
Loading…
Reference in New Issue
Block a user