From a2d5b3ff9b3921482952263883cb5cc59a86b72a Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 15 Jul 2024 03:52:58 -0400 Subject: [PATCH] libraries/p4api: Replaced backtick cmdsub. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- libraries/p4api/p4api.SlackBuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/p4api/p4api.SlackBuild b/libraries/p4api/p4api.SlackBuild index 30dba68f7b..4b83608991 100644 --- a/libraries/p4api/p4api.SlackBuild +++ b/libraries/p4api/p4api.SlackBuild @@ -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