diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2023-05-14 11:07:02 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-05-15 11:05:56 +0700 |
commit | 390b3f3d61e018a7ac719aab8fd056225741ac63 (patch) | |
tree | e6f5575ec79f61ab4f3c17cf99ba98d8d0793731 | |
parent | 8e60a9a8f531e1c582aaa6e02a84892ad8c384af (diff) |
python/python3-Flask-RESTX: SRCNAM changes.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | python/python3-Flask-RESTX/python3-Flask-RESTX.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/python/python3-Flask-RESTX/python3-Flask-RESTX.SlackBuild b/python/python3-Flask-RESTX/python3-Flask-RESTX.SlackBuild index a0637fd4c0c8d..c45510a95a6ac 100644 --- a/python/python3-Flask-RESTX/python3-Flask-RESTX.SlackBuild +++ b/python/python3-Flask-RESTX/python3-Flask-RESTX.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-Flask-RESTX -SRCNAM=$(echo ${PRGNAM,,} | sed "s/python3-//") +SRCNAM=${PRGNAM#python3-*} VERSION=${VERSION:-1.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -67,9 +67,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -cd $SRCNAM-$VERSION +rm -rf ${SRCNAM,,}-$VERSION +tar xvf $CWD/${SRCNAM,,}-$VERSION.tar.gz +cd ${SRCNAM,,}-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ |