aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/python3-cattrs/python3-cattrs.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/python3-cattrs/python3-cattrs.SlackBuild b/python/python3-cattrs/python3-cattrs.SlackBuild
index 68164397645e..8bf2f455e9d5 100644
--- a/python/python3-cattrs/python3-cattrs.SlackBuild
+++ b/python/python3-cattrs/python3-cattrs.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-cattrs
-SRCNAM=$(echo $PRGNAM | sed "s/python3-//")
+SRCNAM=${PRGNAM#python3-*}
VERSION=${VERSION:-22.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}