fix logic error in jack version check that caused it to not detect newer jack versions
git-svn-id: svn://localhost/ardour2/branches/3.0@14082 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
0efedf3b85
commit
9c4a4e8374
@ -551,13 +551,37 @@ then
|
||||
|
||||
if [ "jackd" = ${JACK_NAME} ];
|
||||
then
|
||||
if [ 0 -le ${JACK_VERSION_MAJOR} -a 121 -le ${JACK_VERSION_MIDDLE} -a 3 -le ${JACK_VERSION_MINOR} ];
|
||||
if [ ${JACK_VERSION_MAJOR} -eq 0 ];
|
||||
then
|
||||
if [ ${JACK_VERSION_MIDDLE} -eq 121 ];
|
||||
then
|
||||
if [ ${JACK_VERSION_MINOR} -ge 3 ];
|
||||
then
|
||||
JACK_VERSION_OK="t"
|
||||
fi
|
||||
elif [ ${JACK_VERSION_MIDDLE} -gt 121 ];
|
||||
then
|
||||
JACK_VERSION_OK="t"
|
||||
fi
|
||||
elif [ ${JACK_VERSION_MAJOR} -gt 0 ];
|
||||
then
|
||||
JACK_VERSION_OK="t"
|
||||
fi
|
||||
elif [ "jackdmp" = ${JACK_NAME} ];
|
||||
then
|
||||
if [ 1 -le ${JACK_VERSION_MAJOR} -a 9 -le ${JACK_VERSION_MIDDLE} -a 8 -le ${JACK_VERSION_MINOR} ];
|
||||
if [ ${JACK_VERSION_MAJOR} -eq 1 ];
|
||||
then
|
||||
if [ ${JACK_VERSION_MIDDLE} -eq 9 ];
|
||||
then
|
||||
if [ ${JACK_VERSION_MINOR} -ge 8 ];
|
||||
then
|
||||
JACK_VERSION_OK="t"
|
||||
fi
|
||||
elif [ ${JACK_VERSION_MIDDLE} -gt 9 ];
|
||||
then
|
||||
JACK_VERSION_OK="t"
|
||||
fi
|
||||
elif [ ${JACK_VERSION_MAJOR} -gt 1 ];
|
||||
then
|
||||
JACK_VERSION_OK="t"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user