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

13 lines
508 B
Diff
Raw Normal View History

2017-01-07 07:00:39 +01:00
diff -u -r ../cmake-3.7.1/Source/cmExecProgramCommand.cxx ./Source/cmExecProgramCommand.cxx
--- ../cmake-3.7.1/Source/cmExecProgramCommand.cxx 2016-11-30 10:14:32.000000000 -0500
+++ ./Source/cmExecProgramCommand.cxx 2017-01-06 06:22:11.611620662 -0500
@@ -200,7 +200,7 @@
2016-08-14 13:20:51 +02:00
}
2015-06-13 01:03:31 +02:00
fflush(stdout);
fflush(stderr);
2017-01-07 07:00:39 +01:00
- const char* cmd[] = { "/bin/sh", "-c", command, CM_NULLPTR };
+ const char* cmd[] = { "@TERMUX_PREFIX@/bin/sh", "-c", command, CM_NULLPTR };
2015-06-13 01:03:31 +02:00
cmsysProcess_SetCommand(cp, cmd);
#endif