summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2020-01-03 03:17:31 -0600
committerRobby Workman <rworkman@slackbuilds.org>2020-01-03 03:17:31 -0600
commit67b98ddc4d965afa4d04dbb2fffacc5a9ec369ee (patch)
tree286348174a3fdba05fc8e2a603241f8fefa2f7a9 /python
parent2772462b00341e1c876fe43cb9c06f635daa32d8 (diff)
downloadslackbuilds-67b98ddc4d965afa4d04dbb2fffacc5a9ec369ee.tar.gz
python/functools32: Fixed VERSION in build script
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'python')
-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 ;;