diff options
-rw-r--r-- | development/p4v/p4v.SlackBuild | 10 |
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 ;; |