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

13 lines
504 B
Diff
Raw Normal View History

2017-12-17 00:26:35 +01:00
diff -u -r ../cmake-3.10.1/Source/cmExecProgramCommand.cxx ./Source/cmExecProgramCommand.cxx
--- ../cmake-3.10.1/Source/cmExecProgramCommand.cxx 2017-12-13 14:25:23.000000000 +0100
+++ ./Source/cmExecProgramCommand.cxx 2017-12-15 12:18:37.696103242 +0100
@@ -205,7 +205,7 @@
2016-08-14 13:20:51 +02:00
}
2015-06-13 01:03:31 +02:00
fflush(stdout);
fflush(stderr);
2017-12-17 00:26:35 +01:00
- const char* cmd[] = { "/bin/sh", "-c", command, nullptr };
+ const char* cmd[] = { "@TERMUX_PREFIX@/bin/sh", "-c", command, nullptr };
2015-06-13 01:03:31 +02:00
cmsysProcess_SetCommand(cp, cmd);
#endif