python: $PREFIX/bin/sh instead of /system/bin/sh

This commit is contained in:
Fredrik Fornwall 2015-12-02 05:55:58 -05:00
parent 2fd1858183
commit 89a13ec524
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ TERMUX_PKG_HOSTBUILD=true
_MAJOR_VERSION=3.5
TERMUX_PKG_VERSION=${_MAJOR_VERSION}.0
TERMUX_PKG_BUILD_REVISION=3
TERMUX_PKG_BUILD_REVISION=4
TERMUX_PKG_SRCURL=http://www.python.org/ftp/python/${TERMUX_PKG_VERSION}/Python-${TERMUX_PKG_VERSION}.tar.xz
# The flag --with(out)-pymalloc (disable/enable specialized mallocs) is enabled by default and causes m suffix versions of python.

View File

@ -6,7 +6,7 @@ diff -u -r ../Python-3.4.1/Lib/subprocess.py ./Lib/subprocess.py
if shell:
- args = ["/bin/sh", "-c"] + args
+ args = ["/system/bin/sh", "-c"] + args
+ args = ["@TERMUX_PREFIX@/bin/sh", "-c"] + args
if executable:
args[0] = executable