X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/77b0e6966779f5c498e41434b0eb712e36424778..ac48c2790d0de1f04c88513aa64d3d7158e7b35d:/disabled-packages/postgresql/src-bin-psql-command.c.patch diff --git a/disabled-packages/postgresql/src-bin-psql-command.c.patch b/disabled-packages/postgresql/src-bin-psql-command.c.patch new file mode 100644 index 00000000..2044bdc0 --- /dev/null +++ b/disabled-packages/postgresql/src-bin-psql-command.c.patch @@ -0,0 +1,12 @@ +diff -u -r ../postgresql-9.6.2/src/bin/psql/command.c ./src/bin/psql/command.c +--- ../postgresql-9.6.2/src/bin/psql/command.c 2017-02-06 22:45:25.000000000 +0100 ++++ ./src/bin/psql/command.c 2017-03-05 14:45:58.038668777 +0100 +@@ -3076,7 +3076,7 @@ + + + #ifndef WIN32 +-#define DEFAULT_SHELL "/bin/sh" ++#define DEFAULT_SHELL "@TERMUX_PREFIX@/bin/sh" + #else + /* + * CMD.EXE is in different places in different Win32 releases so we