X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/59f0d218a6ff34c80cf898f6d7ac62555ba8eb11..03e92e97aa93120d1a56ef19a4ad3a5f9939861c:/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 1080011f..c74c3f83 100644 --- 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);