development/p4v: 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:
B. Watson 2024-07-15 02:36:53 -04:00 committed by Willy Sudiarto Raharjo
parent 494a15afa6
commit b1a0342f28
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -39,7 +39,7 @@ PKGTYPE=${PKGTYPE:-tgz}
set -e
###sbolint off (because VERSION is being redefined)
LOCALVER=`tar tf p4v.tgz 2> /dev/null | head -1 | cut -d- -f 2 | cut -d/ -f1`
LOCALVER=$( tar tf p4v.tgz 2> /dev/null | head -1 | cut -d- -f 2 | cut -d/ -f1 )
VERSION=${LOCALVER:-$VERSION}
###sbolint on