summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/functools32/functools32.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/python/functools32/functools32.SlackBuild b/python/functools32/functools32.SlackBuild
index b61713311e..e18b35efac 100644
--- a/python/functools32/functools32.SlackBuild
+++ b/python/functools32/functools32.SlackBuild
@@ -23,11 +23,12 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=functools32
-SRCVER=${SRCVER:-3.2.3-1}
-VERSION=$(echo $SRCVER | tr - _)
+VERSION=${VERSION:-3.2.3_1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCVER=$(echo $VERSION | tr _ -)
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;