aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/python3-autocommand/python3-autocommand.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/python3-autocommand/python3-autocommand.SlackBuild b/python/python3-autocommand/python3-autocommand.SlackBuild
index 4f4b461591..171e163138 100644
--- a/python/python3-autocommand/python3-autocommand.SlackBuild
+++ b/python/python3-autocommand/python3-autocommand.SlackBuild
@@ -25,8 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-autocommand
-SRCNAM=$(echo $PRGNAM | sed "s/python3-//")
-SRCNAM=$(echo $PRGNAM | sed 's/python3-//')
+SRCNAM=${PRGNAM#python3-*}
+SRCNAM=${PRGNAM#python3-*}
VERSION=${VERSION:-2.2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}