diff --git a/packages/ttyrec/build.sh b/packages/ttyrec/build.sh index 0494dfe28..4ff9d41c7 100644 --- a/packages/ttyrec/build.sh +++ b/packages/ttyrec/build.sh @@ -1,7 +1,7 @@ TERMUX_PKG_HOMEPAGE=http://0xcc.net/ttyrec/ TERMUX_PKG_DESCRIPTION="Terminal recorder and player" 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_BUILD_IN_SRC=yes diff --git a/packages/ttyrec/ttyrec.c.patch b/packages/ttyrec/ttyrec.c.patch index b142c2409..08383ab87 100644 --- a/packages/ttyrec/ttyrec.c.patch +++ b/packages/ttyrec/ttyrec.c.patch @@ -51,7 +51,7 @@ diff -u -r ../ttyrec-1.0.8/ttyrec.c ./ttyrec.c shell = getenv("SHELL"); if (shell == NULL) - shell = "/bin/sh"; -+ shell = "/system/bin/sh"; ++ shell = "@TERMUX_PREFIX@/bin/sh"; getmaster(); fixtty();