ttyrec: /system/bin/sh -> $PREFIX/bin/sh
This commit is contained in:
parent
c7a41ea0e0
commit
3410d50ef7
@ -1,7 +1,7 @@
|
|||||||
TERMUX_PKG_HOMEPAGE=http://0xcc.net/ttyrec/
|
TERMUX_PKG_HOMEPAGE=http://0xcc.net/ttyrec/
|
||||||
TERMUX_PKG_DESCRIPTION="Terminal recorder and player"
|
TERMUX_PKG_DESCRIPTION="Terminal recorder and player"
|
||||||
TERMUX_PKG_VERSION=1.0.8
|
TERMUX_PKG_VERSION=1.0.8
|
||||||
TERMUX_PKG_BUILD_REVISION=1
|
TERMUX_PKG_BUILD_REVISION=2
|
||||||
TERMUX_PKG_SRCURL=http://0xcc.net/ttyrec/ttyrec-${TERMUX_PKG_VERSION}.tar.gz
|
TERMUX_PKG_SRCURL=http://0xcc.net/ttyrec/ttyrec-${TERMUX_PKG_VERSION}.tar.gz
|
||||||
TERMUX_PKG_BUILD_IN_SRC=yes
|
TERMUX_PKG_BUILD_IN_SRC=yes
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ diff -u -r ../ttyrec-1.0.8/ttyrec.c ./ttyrec.c
|
|||||||
shell = getenv("SHELL");
|
shell = getenv("SHELL");
|
||||||
if (shell == NULL)
|
if (shell == NULL)
|
||||||
- shell = "/bin/sh";
|
- shell = "/bin/sh";
|
||||||
+ shell = "/system/bin/sh";
|
+ shell = "@TERMUX_PREFIX@/bin/sh";
|
||||||
|
|
||||||
getmaster();
|
getmaster();
|
||||||
fixtty();
|
fixtty();
|
||||||
|
Loading…
Reference in New Issue
Block a user