chiark / gitweb /
postgresql: Patch away /bin/sh
[termux-packages] / disabled-packages / postgresql / src-bin-psql-command.c.patch
1 diff -u -r ../postgresql-9.6.2/src/bin/psql/command.c ./src/bin/psql/command.c
2 --- ../postgresql-9.6.2/src/bin/psql/command.c  2017-02-06 22:45:25.000000000 +0100
3 +++ ./src/bin/psql/command.c    2017-03-05 14:45:58.038668777 +0100
4 @@ -3076,7 +3076,7 @@
5  
6  
7  #ifndef WIN32
8 -#define DEFAULT_SHELL "/bin/sh"
9 +#define DEFAULT_SHELL "@TERMUX_PREFIX@/bin/sh"
10  #else
11  /*
12   *     CMD.EXE is in different places in different Win32 releases so we