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