libraries/p4api: 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 03:52:58 -04:00 committed by Willy Sudiarto Raharjo
parent 28301be988
commit a2d5b3ff9b
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 1 additions and 1 deletions

View File

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