diff options
author | 2023-05-14 10:36:26 -0600 | |
---|---|---|
committer | 2023-05-15 11:05:55 +0700 | |
commit | 29201abfcb2d1f1c60acd4415bbf9c4f94c59b59 (patch) | |
tree | 124982d87da9ee615a809d1bc94652e831f1b4f2 /python/python3-glances/python3-glances.SlackBuild | |
parent | a48285a71eebeb4e7920591747904dc06af1a502 (diff) | |
download | slackbuilds-29201abfcb2d1f1c60acd4415bbf9c4f94c59b59.tar.gz slackbuilds-29201abfcb2d1f1c60acd4415bbf9c4f94c59b59.tar.xz |
python/python3-glances: SRCNAM changes.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-glances/python3-glances.SlackBuild')
-rw-r--r-- | python/python3-glances/python3-glances.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/python/python3-glances/python3-glances.SlackBuild b/python/python3-glances/python3-glances.SlackBuild index d876f41178..975ac96ec7 100644 --- a/python/python3-glances/python3-glances.SlackBuild +++ b/python/python3-glances/python3-glances.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-glances -SRCNAM=$(echo $PRGNAM | sed "s/python3-//" |sed 's/.*/\u&/') +SRCNAM=${PRGNAM#python3-*} VERSION=${VERSION:-3.3.1.1} 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 xvzf $CWD/$SRCNAM-$VERSION.tar.gz -cd $SRCNAM-$VERSION +rm -rf ${SRCNAM^}-$VERSION +tar xvzf $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 \ |