13
0

Fix Linux packaging to deal with jackd -RC versions

This commit is contained in:
Robin Gareus 2017-08-01 16:32:58 +02:00
parent df76e4417d
commit 79dc3882ea

View File

@ -694,7 +694,7 @@ then
JACK_VERSION_OK="f"
JACK_VER_STRING=$(jackd --version | grep -e "jackd.*protocol")
JACK_NAME=$(echo $JACK_VER_STRING | awk '{print $1}')
JACK_VERSION=$(echo $JACK_VER_STRING | awk '{print $3}')
JACK_VERSION=$(echo $JACK_VER_STRING | awk '{print $3}') | sed 's/-.*$//'
JACK_VERSION_MAJOR=$(echo $JACK_VERSION | awk 'BEGIN{FS="."}{print $1}')
JACK_VERSION_MIDDLE=$(echo $JACK_VERSION | awk 'BEGIN{FS="."}{print $2}')
JACK_VERSION_MINOR=$(echo $JACK_VERSION | awk 'BEGIN{FS="."}{print $3}')