chiark / gitweb /
cmake: Update from 3.6.2 to 3.7.1
[termux-packages] / packages / cmake / Source-cmExecProgramCommand.cxx.patch
1 diff -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 @@
5    }
6    fflush(stdout);
7    fflush(stderr);
8 -  const char* cmd[] = { "/bin/sh", "-c", command, CM_NULLPTR };
9 +  const char* cmd[] = { "@TERMUX_PREFIX@/bin/sh", "-c", command, CM_NULLPTR };
10    cmsysProcess_SetCommand(cp, cmd);
11  #endif
12