gdb: Add comment explaining autoconf variables
[termux-packages] / packages / gdb / cli_cmds_c_bin_sh.patch
index 1080011..c74c3f8 100644 (file)
@@ -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);