allianceInstaller.sh also must support nightly builds.

This commit is contained in:
Jean-Paul Chaput 2023-01-02 12:24:19 +01:00
parent db54e685f7
commit da56189d2e
1 changed files with 7 additions and 2 deletions

View File

@ -1,7 +1,12 @@
#!/bin/bash
srcDir=${HOME}/coriolis-2.x/src/alliance/alliance/src
commonRoot=${HOME}/coriolis-2.x/Linux.el9/Release.Shared
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
buildDir=${commonRoot}/build
installDir=${commonRoot}/install