cmake: Update from 3.8.0 to 3.8.1
[termux-packages] / packages / cmake / Source-cmExecProgramCommand.cxx.patch
CommitLineData
deeb04b5
FF
1diff -u -r ../cmake-3.7.1/Source/cmExecProgramCommand.cxx ./Source/cmExecProgramCommand.cxx
2--- ../cmake-3.7.1/Source/cmExecProgramCommand.cxx 2016-11-30 10:14:32.000000000 -0500
3+++ ./Source/cmExecProgramCommand.cxx 2017-01-06 06:22:11.611620662 -0500
4@@ -200,7 +200,7 @@
78d7dd0d 5 }
59f0d218
FF
6 fflush(stdout);
7 fflush(stderr);
deeb04b5
FF
8- const char* cmd[] = { "/bin/sh", "-c", command, CM_NULLPTR };
9+ const char* cmd[] = { "@TERMUX_PREFIX@/bin/sh", "-c", command, CM_NULLPTR };
59f0d218
FF
10 cmsysProcess_SetCommand(cp, cmd);
11 #endif
12