summaryrefslogtreecommitdiffstats
path: root/libraries/PyODE
diff options
context:
space:
mode:
author B. Watson2017-03-25 14:39:19 +0100
committer David Spencer2017-03-25 14:40:46 +0100
commit3d1759f9d817c19ddf8b524a6db61dd887ca9eb6 (patch)
tree7b9acca51f883f9a7d27e5399f3dfb14841551e2 /libraries/PyODE
parentf9d1327da9233d748a1994531b8e6f5052a959b3 (diff)
downloadslackbuilds-3d1759f9d817c19ddf8b524a6db61dd887ca9eb6.tar.gz
libraries/PyODE: Allow VERSION override from environment.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/PyODE')
-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}