aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-11-26 06:41:05 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-11-26 06:42:14 +0700
commit1e4e6470780bde03ad930d09d56f2d58def1aa12 (patch)
tree83b36c96f3099e9b529e6ed61a84dc59ffd04ab0 /python
parentfd949adc6c9755602384e1e3a6a8c9a5478f1bef (diff)
python/python2-psutil: Fix script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r--python/python2-psutil/python2-psutil.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/python2-psutil/python2-psutil.SlackBuild b/python/python2-psutil/python2-psutil.SlackBuild
index 40ec09dfe8b3f..52ea3f32e30fc 100644
--- a/python/python2-psutil/python2-psutil.SlackBuild
+++ b/python/python2-psutil/python2-psutil.SlackBuild
@@ -77,7 +77,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG
+python2 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true