python: $PREFIX/bin/sh instead of /system/bin/sh
This commit is contained in:
parent
2fd1858183
commit
89a13ec524
@ -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.
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user