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

13 lines
490 B
Diff
Raw Normal View History

2016-08-14 13:20:51 +02:00
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 @@
}
2015-06-13 01:03:31 +02:00
fflush(stdout);
fflush(stderr);
2016-08-14 13:20:51 +02:00
- const char* cmd[] = { "/bin/sh", "-c", command, 0 };
+ const char* cmd[] = { "@TERMUX_PREFIX@/bin/sh", "-c", command, 0 };
2015-06-13 01:03:31 +02:00
cmsysProcess_SetCommand(cp, cmd);
#endif