diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2023-05-14 10:58:18 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-05-15 11:05:56 +0700 |
commit | 8e60a9a8f531e1c582aaa6e02a84892ad8c384af (patch) | |
tree | 5601b6cfb8672a1b24ea3d3d2992d3fda4aa9793 /python/python3-Flask-Babel | |
parent | f8d6d0e10613929cc37419e7d7d2c517a7e40069 (diff) |
python/python3-Flask-Babel: SRCNAM changes.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-Flask-Babel')
-rw-r--r-- | python/python3-Flask-Babel/python3-Flask-Babel.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/python/python3-Flask-Babel/python3-Flask-Babel.SlackBuild b/python/python3-Flask-Babel/python3-Flask-Babel.SlackBuild index b981f78ff3488..b171a9014ab3c 100644 --- a/python/python3-Flask-Babel/python3-Flask-Babel.SlackBuild +++ b/python/python3-Flask-Babel/python3-Flask-Babel.SlackBuild @@ -30,7 +30,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-Flask-Babel -SRCNAM=$(echo ${PRGNAM,,} | sed -e "s/python3-//" -e 's/-/_/') +SRCNAM=$(echo ${PRGNAM#python3-*} | sed -e "s/-/_/") VERSION=${VERSION:-3.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -72,9 +72,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 \ |