chiark / gitweb /
cmake: Update from 3.5.2 to 3.6.1
[termux-packages] / packages / cmake / Source-cmExecProgramCommand.cxx.patch
1 diff -u -r ../cmake-3.6.1/Source/cmExecProgramCommand.cxx ./Source/cmExecProgramCommand.cxx
2 --- ../cmake-3.6.1/Source/cmExecProgramCommand.cxx      2016-07-22 09:50:22.000000000 -0400
3 +++ ./Source/cmExecProgramCommand.cxx   2016-08-14 06:53:11.667195266 -0400
4 @@ -209,7 +209,7 @@
5    }
6    fflush(stdout);
7    fflush(stderr);
8 -  const char* cmd[] = { "/bin/sh", "-c", command, 0 };
9 +  const char* cmd[] = { "@TERMUX_PREFIX@/bin/sh", "-c", command, 0 };
10    cmsysProcess_SetCommand(cp, cmd);
11  #endif
12