aboutsummaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-07-15 02:31:17 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-07-20 08:09:03 +0700
commit1be3ca95b2e142a63618b1dd854ed9e7a8d93246 (patch)
treef9f8d83395f2f32bf6a975655306fec2b19f08f9 /academic
parent55cd4de890e27e83d5ac4818c7c79974e3f6c4a8 (diff)
academic/sword-data-kjv: Replaced backtick cmdsub.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r--academic/sword-data-kjv/sword-data-kjv.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/academic/sword-data-kjv/sword-data-kjv.SlackBuild b/academic/sword-data-kjv/sword-data-kjv.SlackBuild
index 198bb6bc8912b..925a0dda460ec 100644
--- a/academic/sword-data-kjv/sword-data-kjv.SlackBuild
+++ b/academic/sword-data-kjv/sword-data-kjv.SlackBuild
@@ -55,7 +55,7 @@ rm -rf $PRGNAM-$VERSION
#check if sword is installed and get data location, otherwise use default
DATADEST="/usr/share/sword/"
if [ -e /etc/sword.conf ]; then
- DATADEST=`cat /etc/sword.conf|grep DataPath|awk -F"=" '{print $2}'`
+ DATADEST=$( cat /etc/sword.conf|grep DataPath|awk -F"=" '{print $2}' )
if [ "x$DATADEST" = "x" ]||[ "x$DATDEST" = "x/" ]; then
#this should not happen, give message and stop build
#it doesn't stop deliberately malicious configuration, but at least