make: Patch default shell path

This commit is contained in:
Fredrik Fornwall 2015-07-19 17:06:03 -04:00
parent f967c5e406
commit b3e3da66dc
2 changed files with 7 additions and 6 deletions

View File

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

View File

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