summaryrefslogtreecommitdiff
path: root/tools/linux_packaging/stage2.run.in
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-08-01 16:32:58 +0200
committerRobin Gareus <robin@gareus.org>2017-08-01 16:56:20 +0200
commit79dc3882ea6dfd5ce2e1bf47e26ec98d2b8b2486 (patch)
tree918185c285b1a3f89ec714c7f19c1e48015581d8 /tools/linux_packaging/stage2.run.in
parentdf76e4417daada4f22cc2ab255dfa378a08a1321 (diff)
Fix Linux packaging to deal with jackd -RC versions
Diffstat (limited to 'tools/linux_packaging/stage2.run.in')
-rwxr-xr-xtools/linux_packaging/stage2.run.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/linux_packaging/stage2.run.in b/tools/linux_packaging/stage2.run.in
index 113e5c64cd..d58004eec2 100755
--- a/tools/linux_packaging/stage2.run.in
+++ b/tools/linux_packaging/stage2.run.in
@@ -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}')