Add bop detection on allianceInstaller.sh.
This commit is contained in:
parent
b4fe1a3686
commit
03c424f1a1
|
@ -1,12 +1,25 @@
|
|||
#!/bin/bash
|
||||
|
||||
#. /etc/*-release
|
||||
#arch="Linux.el9"
|
||||
#if [ "`echo ${VERSION} | cut -c 1`" == "7" ]; then
|
||||
# echo "Building for RHEL 7"
|
||||
# arch="Linux.el7_64"
|
||||
#fi
|
||||
|
||||
arch="Linux.el9"
|
||||
if [ "`hostname -s`" == "bop" ]; then
|
||||
echo "Building for RHEL 7"
|
||||
arch="Linux.el7_64"
|
||||
fi
|
||||
|
||||
nightly=""
|
||||
if [[ "`pwd`" =~ /nightly/ ]]; then
|
||||
nightly="/nightly"
|
||||
fi
|
||||
|
||||
srcDir=${HOME}${nightly}/coriolis-2.x/src/alliance/alliance/src
|
||||
commonRoot=${HOME}${nightly}/coriolis-2.x/Linux.el9/Release.Shared
|
||||
commonRoot=${HOME}${nightly}/coriolis-2.x/${arch}/Release.Shared
|
||||
buildDir=${commonRoot}/build
|
||||
installDir=${commonRoot}/install
|
||||
|
||||
|
|
Loading…
Reference in New Issue