workaround for gnuradio-config-info -v reporting version with v at the beginning

This commit is contained in:
sq5bpf 2015-06-09 21:42:38 +02:00 committed by Harald Welte
parent 6edf91fe5e
commit b2051f702c
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
# This is an example how to use simdemod2.py --sq5bpf
# you can also set GR_VERSION yourself outside of this script --sq5bpf
[ "$GR_VERSION" ] || GR_VERSION=`gnuradio-config-info -v|cut -d . -f 1-2`
[ "$GR_VERSION" ] || GR_VERSION=`gnuradio-config-info -v|cut -d . -f 1-2|tr -d v`
case $GR_VERSION in
3.6)
GR_DIR=python-3.6

View File

@ -3,7 +3,7 @@
# this is receiver 1, only with the port changed, it will be used in the example documentation
# you can also set GR_VERSION yourself outside of this script --sq5bpf
[ "$GR_VERSION" ] || GR_VERSION=`gnuradio-config-info -v|cut -d . -f 1-2`
[ "$GR_VERSION" ] || GR_VERSION=`gnuradio-config-info -v|cut -d . -f 1-2|tr -d v`
case $GR_VERSION in
3.6)
GR_DIR=python-3.6