diff options
author | B. Watson <yalhcru@gmail.com> | 2020-01-04 06:19:18 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-01-12 08:47:43 +0700 |
commit | 991e467de2bab9459428d5febf90433710fffe07 (patch) | |
tree | ff86043e687c48ed554ebea74d5deb6a638eb48b | |
parent | 98c09f0d28ce3b49798ebe2d64e857a665bb97af (diff) | |
download | slackbuilds-991e467de2bab9459428d5febf90433710fffe07.tar.gz |
libraries/p4api: Make sbolint happy.
Signed-off-by: B. Watson <yalhcru@gmail.com>
-rw-r--r-- | libraries/p4api/p4api.SlackBuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libraries/p4api/p4api.SlackBuild b/libraries/p4api/p4api.SlackBuild index 2db9d249d3..d1a2510a26 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 ;; |