aboutsummaryrefslogtreecommitdiff
path: root/libraries/p4api
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-01-04 06:19:18 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-01-12 08:47:43 +0700
commit991e467de2bab9459428d5febf90433710fffe07 (patch)
treeff86043e687c48ed554ebea74d5deb6a638eb48b /libraries/p4api
parent98c09f0d28ce3b49798ebe2d64e857a665bb97af (diff)
libraries/p4api: Make sbolint happy.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'libraries/p4api')
-rw-r--r--libraries/p4api/p4api.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/libraries/p4api/p4api.SlackBuild b/libraries/p4api/p4api.SlackBuild
index 2db9d249d3cd3..d1a2510a264f7 100644
--- a/libraries/p4api/p4api.SlackBuild
+++ b/libraries/p4api/p4api.SlackBuild
@@ -2,12 +2,16 @@
# p4api SlackBuild, R. Bailey <GooseYArd@gmail.com>
-LOCALVER=`tar tf p4api.tgz 2> /dev/null | head -1 | cut -d- -f 2 | cut -d/ -f1`
PRGNAM=p4api
-VERSION=${VERSION:-$LOCALVER}
+VERSION=${VERSION:-2010.1.260003}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+###sbolint off (because VERSION is being redefined)
+LOCALVER=`tar tf p4api.tgz 2> /dev/null | head -1 | cut -d- -f 2 | cut -d/ -f1`
+VERSION=${VERSION:-$LOCALVER}
+###sbolint on
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;