aboutsummaryrefslogtreecommitdiff
path: root/python/six/six.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/six/six.SlackBuild')
-rw-r--r--python/six/six.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/six/six.SlackBuild b/python/six/six.SlackBuild
index b1c25a1eaf019..69506ba6ccfad 100644
--- a/python/six/six.SlackBuild
+++ b/python/six/six.SlackBuild
@@ -29,7 +29,7 @@ TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -57,7 +57,7 @@ find -L . \
python setup.py install --root=$PKG
-if $(python3 -c 'import os' 2>/dev/null); then
+if [ "${PYTHON3:-no}" == "yes" ]; then
python3 setup.py install --root=$PKG
fi