termux-packages/packages/cmake/Source-cmExecProgramCommand...

13 lines
490 B
Diff

diff -u -r ../cmake-3.6.1/Source/cmExecProgramCommand.cxx ./Source/cmExecProgramCommand.cxx
--- ../cmake-3.6.1/Source/cmExecProgramCommand.cxx 2016-07-22 09:50:22.000000000 -0400
+++ ./Source/cmExecProgramCommand.cxx 2016-08-14 06:53:11.667195266 -0400
@@ -209,7 +209,7 @@
}
fflush(stdout);
fflush(stderr);
- const char* cmd[] = { "/bin/sh", "-c", command, 0 };
+ const char* cmd[] = { "@TERMUX_PREFIX@/bin/sh", "-c", command, 0 };
cmsysProcess_SetCommand(cp, cmd);
#endif