summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-25 13:39:19 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:40:46 +0000
commit3d1759f9d817c19ddf8b524a6db61dd887ca9eb6 (patch)
tree7b9acca51f883f9a7d27e5399f3dfb14841551e2
parentf9d1327da9233d748a1994531b8e6f5052a959b3 (diff)
downloadslackbuilds-3d1759f9d817c19ddf8b524a6db61dd887ca9eb6.tar.gz
libraries/PyODE: Allow VERSION override from environment.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--libraries/PyODE/PyODE.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/PyODE/PyODE.SlackBuild b/libraries/PyODE/PyODE.SlackBuild
index 7c1135880b..ab8dd80ffb 100644
--- a/libraries/PyODE/PyODE.SlackBuild
+++ b/libraries/PyODE/PyODE.SlackBuild
@@ -24,8 +24,8 @@
PRGNAM=PyODE
SRCNAM=$PRGNAM-snapshot
-SRCVER=${SRCVER:-2010-03-22}
-VERSION=$(echo $SRCVER | tr - .)
+VERSION=${VERSION:-2010.03.22}
+SRCVER=$(echo $VERSION | tr . -)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}