Browse Source

ttyrec: /system/bin/sh -> $PREFIX/bin/sh

android-5
Fredrik Fornwall 9 years ago
parent
commit
3410d50ef7
  1. 2
      packages/ttyrec/build.sh
  2. 2
      packages/ttyrec/ttyrec.c.patch

2
packages/ttyrec/build.sh

@ -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

2
packages/ttyrec/ttyrec.c.patch

@ -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…
Cancel
Save