aboutsummaryrefslogtreecommitdiff
path: root/ham
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-07-15 03:46:48 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-07-20 08:09:06 +0700
commit4a869f5aee911137a7a28212a1c9a8229c941597 (patch)
treeec1b27298da2ae9fd9832f95ee602d1aeb81c6cd /ham
parent0af8df9a75ba034eda8a8723365f79e91ed6cf85 (diff)
ham/hamlib: Replaced backtick cmdsub.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'ham')
-rw-r--r--ham/hamlib/hamlib.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/ham/hamlib/hamlib.SlackBuild b/ham/hamlib/hamlib.SlackBuild
index bac0eecc2480..c84b641e0b76 100644
--- a/ham/hamlib/hamlib.SlackBuild
+++ b/ham/hamlib/hamlib.SlackBuild
@@ -93,19 +93,19 @@ fi
if { [ x"${PY_MOD}" = x"yes" ] || [ x"${PY3_MOD}" = x"yes" ]; } then
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
PYTHON_BINDING=""
fi
if [ x"${PY3_MOD}" = x"yes" ]; then
- 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)";`
+ 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)"; )
fi
if [ x"${TCL_MOD}" = x"yes" ]; then
TCL_BINDING="--with-tcl-binding"
- TCLV=`echo 'puts $tcl_version;exit 0' | tclsh`
+ TCLV=$( echo 'puts $tcl_version;exit 0' | tclsh )
else
TCL_BINDING=""
fi