aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2023-05-14 09:23:51 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-05-15 11:05:43 +0700
commitd93c359042f2d303aa689e7fffc9cdd62793a222 (patch)
treecf20165a273f89e17e0b462788c2dcec5c8c86a0
parentdf907fd59b0c37d958367d06330240e498d67404 (diff)
python/python2-docopt: SRCNAM changes.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/python2-docopt/python2-docopt.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/python2-docopt/python2-docopt.SlackBuild b/python/python2-docopt/python2-docopt.SlackBuild
index 01968c46651c..6044e0918303 100644
--- a/python/python2-docopt/python2-docopt.SlackBuild
+++ b/python/python2-docopt/python2-docopt.SlackBuild
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python2-docopt
-SRCNAM=$(echo $PRGNAM | sed "s/python2-//")
+SRCNAM=${PRGNAM#python2-*}
VERSION=${VERSION:-0.6.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}