chiark / gitweb /
preload-hacks: Some patches to make it work.
[termux-packages] / packages / emacs / src-callproc.c.patch
1 diff -u -r ../emacs-25.0.92/src/callproc.c ./src/callproc.c
2 --- ../emacs-25.0.92/src/callproc.c     2016-03-02 05:21:43.000000000 -0500
3 +++ ./src/callproc.c    2016-03-25 22:02:38.977310920 -0400
4 @@ -1619,7 +1619,7 @@
5      dir_warning ("arch-independent data dir", Vdata_directory);
6  
7    sh = getenv ("SHELL");
8 -  Vshell_file_name = build_string (sh ? sh : "/bin/sh");
9 +  Vshell_file_name = build_string (sh ? sh : "@TERMUX_PREFIX@/bin/sh");
10  
11  #ifdef DOS_NT
12    Vshared_game_score_directory = Qnil;