Browse Source

make: Patch default shell path

android-5
Fredrik Fornwall 9 years ago
parent
commit
b3e3da66dc
  1. 1
      packages/make/build.sh
  2. 12
      packages/make/make.patch

1
packages/make/build.sh

@ -1,4 +1,5 @@
TERMUX_PKG_HOMEPAGE=http://www.gnu.org/software/make/
TERMUX_PKG_DESCRIPTION="Tool which controls the generation of executables and other non-source files of a program from the program's source files"
TERMUX_PKG_VERSION=4.1
TERMUX_PKG_BUILD_REVISION=1
TERMUX_PKG_SRCURL=http://ftp.gnu.org/gnu/make/make-${TERMUX_PKG_VERSION}.tar.gz

12
packages/make/make.patch

@ -1,12 +1,12 @@
diff -u -r ../make-4.1/job.c ./job.c
--- ../make-4.1/job.c 2014-10-05 18:24:51.000000000 +0200
+++ ./job.c 2014-10-15 00:33:16.000000000 +0200
@@ -53,7 +53,7 @@
--- ../make-4.1/job.c 2014-10-05 12:24:51.000000000 -0400
+++ ./job.c 2015-07-19 17:01:19.751113443 -0400
@@ -69,7 +69,7 @@
#elif defined (__EMX__)
#else
-const char *default_shell = "/bin/sh";
+const char *default_shell = "/system/bin/sh";
+const char *default_shell = "@TERMUX_PREFIX@/bin/sh";
int batch_mode_shell = 0;
#elif defined (VMS)
#endif

Loading…
Cancel
Save