aboutsummaryrefslogtreecommitdiff
path: root/python/python2-docopt
diff options
context:
space:
mode:
Diffstat (limited to 'python/python2-docopt')
-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}