aboutsummaryrefslogtreecommitdiff
path: root/python/fixtures/fixtures.SlackBuild
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-15 16:28:33 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-19 18:40:13 +0700
commita29d1f4f891549b0ed5b431a70e34db225ded76c (patch)
tree43985b0cdbece161b1ed51da2422c88b4dd9f3d0 /python/fixtures/fixtures.SlackBuild
parenta8800d43ac698c40dc739e25d41029e3f5905649 (diff)
python/fixtures: Convert python to python2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/fixtures/fixtures.SlackBuild')
-rw-r--r--python/fixtures/fixtures.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fixtures/fixtures.SlackBuild b/python/fixtures/fixtures.SlackBuild
index 410e02e144df2..9ab21a06636f6 100644
--- a/python/fixtures/fixtures.SlackBuild
+++ b/python/fixtures/fixtures.SlackBuild
@@ -69,7 +69,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