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:
parent
28301be988
commit
a2d5b3ff9b
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue