Fix directory detection for alliance installer
This commit is contained in:
parent
bcccc299ae
commit
ecd987fa37
|
@ -7,10 +7,16 @@
|
||||||
# arch="Linux.el7_64"
|
# arch="Linux.el7_64"
|
||||||
#fi
|
#fi
|
||||||
|
|
||||||
arch="Linux.el9"
|
arch_str=$((uname -srm))
|
||||||
if [ "`hostname -s`" == "bop" ]; then
|
if [[ ${arch_str} =~ Linux.*(el9|al9).*x86_64 ]]; then
|
||||||
|
echo "Building for RHEL 9"
|
||||||
|
arch="Linux.el9"
|
||||||
|
elif [[ ${arch_str} =~ Linux.*(el7|al7).*x86_64 ]]; then
|
||||||
echo "Building for RHEL 7"
|
echo "Building for RHEL 7"
|
||||||
arch="Linux.el7_64"
|
arch="Linux.el7"
|
||||||
|
else
|
||||||
|
echo "Building for Generic Linux"
|
||||||
|
arch="Linux.x86_64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
nightly=""
|
nightly=""
|
||||||
|
|
Loading…
Reference in New Issue