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

13 lines
519 B
Diff
Raw Normal View History

2019-08-21 13:04:25 +02:00
diff -u -r ../cmake-3.15.2/Source/cmExecProgramCommand.cxx ./Source/cmExecProgramCommand.cxx
--- ../cmake-3.15.2/Source/cmExecProgramCommand.cxx 2019-08-07 16:58:29.000000000 +0000
+++ ./Source/cmExecProgramCommand.cxx 2019-08-18 20:05:17.156753010 +0000
2017-12-17 00:26:35 +01:00
@@ -205,7 +205,7 @@
2016-08-14 13:20:51 +02:00
}
2015-06-13 01:03:31 +02:00
fflush(stdout);
fflush(stderr);
2019-08-21 13:04:25 +02:00
- const char* cmd[] = { "/bin/sh", "-c", command.c_str(), nullptr };
+ const char* cmd[] = { "@TERMUX_PREFIX/bin/sh", "-c", command.c_str(), nullptr };
2015-06-13 01:03:31 +02:00
cmsysProcess_SetCommand(cp, cmd);
#endif