mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
academic/sword-data-kjv: 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
55cd4de890
commit
1be3ca95b2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue