summaryrefslogtreecommitdiff
path: root/development/p4v
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-01-04 06:17:10 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-01-12 08:47:43 +0700
commit98c09f0d28ce3b49798ebe2d64e857a665bb97af (patch)
tree7f59ed5b0e0029c0462df7380a5854c474c446d0 /development/p4v
parent9618c13f4f92a23eead1cf4cab3a35556435fc99 (diff)
downloadslackbuilds-98c09f0d28ce3b49798ebe2d64e857a665bb97af.tar.gz
development/p4v: Make sbolint happy.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'development/p4v')
-rw-r--r--development/p4v/p4v.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/development/p4v/p4v.SlackBuild b/development/p4v/p4v.SlackBuild
index 414d4b7988..4430d82623 100644
--- a/development/p4v/p4v.SlackBuild
+++ b/development/p4v/p4v.SlackBuild
@@ -29,13 +29,17 @@
# Mon Aug 30 11:39:47 EDT 2010: add version discovery (rab)
#
-set -e
-LOCALVER=`tar tf p4v.tgz 2> /dev/null | head -1 | cut -d- -f 2 | cut -d/ -f1`
PRGNAM=p4v
-VERSION=${VERSION:-$LOCALVER}
+VERSION=${VERSION:-2017.2.1573260}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+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`
+VERSION=${VERSION:-$LOCALVER}
+###sbolint on
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;