mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-28 10:02:43 +01:00
ham/hamlib: Replaced backtick cmdsub.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
0af8df9a75
commit
4a869f5aee
1 changed files with 4 additions and 4 deletions
|
@ -93,19 +93,19 @@ fi
|
||||||
|
|
||||||
if { [ x"${PY_MOD}" = x"yes" ] || [ x"${PY3_MOD}" = x"yes" ]; } then
|
if { [ x"${PY_MOD}" = x"yes" ] || [ x"${PY3_MOD}" = x"yes" ]; } then
|
||||||
PYTHON_BINDING="--with-python-binding"
|
PYTHON_BINDING="--with-python-binding"
|
||||||
PYV=`python -c "import sys;t='{v[0]}.{v[1]}'.format(v=list(sys.version_info[:2]));sys.stdout.write(t)";`
|
PYV=$( python -c "import sys;t='{v[0]}.{v[1]}'.format(v=list(sys.version_info[:2]));sys.stdout.write(t)"; )
|
||||||
else
|
else
|
||||||
PYTHON_BINDING=""
|
PYTHON_BINDING=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ x"${PY3_MOD}" = x"yes" ]; then
|
if [ x"${PY3_MOD}" = x"yes" ]; then
|
||||||
export PYTHON=`which python3`
|
export PYTHON=$( which python3 )
|
||||||
PYV=`python3 -c "import sys;t='{v[0]}.{v[1]}'.format(v=list(sys.version_info[:2]));sys.stdout.write(t)";`
|
PYV=$( python3 -c "import sys;t='{v[0]}.{v[1]}'.format(v=list(sys.version_info[:2]));sys.stdout.write(t)"; )
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ x"${TCL_MOD}" = x"yes" ]; then
|
if [ x"${TCL_MOD}" = x"yes" ]; then
|
||||||
TCL_BINDING="--with-tcl-binding"
|
TCL_BINDING="--with-tcl-binding"
|
||||||
TCLV=`echo 'puts $tcl_version;exit 0' | tclsh`
|
TCLV=$( echo 'puts $tcl_version;exit 0' | tclsh )
|
||||||
else
|
else
|
||||||
TCL_BINDING=""
|
TCL_BINDING=""
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue