chiark
/
gitweb
/
~mdw
/
termux-packages
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vim: Use sensible.vim as system vimrc
[termux-packages]
/
packages
/
gdb
/
cli_cmds_c_bin_sh.patch
diff --git
a/packages/gdb/cli_cmds_c_bin_sh.patch
b/packages/gdb/cli_cmds_c_bin_sh.patch
index 1080011fe905f88955e9d8bfe0eaac2fd8220bf6..c74c3f8338b6279d9771980f875a259945bcd300 100644
(file)
--- a/
packages/gdb/cli_cmds_c_bin_sh.patch
+++ b/
packages/gdb/cli_cmds_c_bin_sh.patch
@@
-6,7
+6,7
@@
diff -u -r ../gdb-7.6.2/gdb/cli/cli-cmds.c ./gdb/cli/cli-cmds.c
if ((user_shell = (char *) getenv ("SHELL")) == NULL)
- user_shell = "/bin/sh";
-+ user_shell = "
/system
/bin/sh";
++ user_shell = "
@TERMUX_PREFIX@
/bin/sh";
/* Get the name of the shell for arg0. */
p = lbasename (user_shell);