diff options
Diffstat (limited to 'recipes-security/selinux/mcstrans/mcstrans-de-bashify.patch')
| -rw-r--r-- | recipes-security/selinux/mcstrans/mcstrans-de-bashify.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes-security/selinux/mcstrans/mcstrans-de-bashify.patch b/recipes-security/selinux/mcstrans/mcstrans-de-bashify.patch new file mode 100644 index 0000000..805d7e5 --- /dev/null +++ b/recipes-security/selinux/mcstrans/mcstrans-de-bashify.patch | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | commit 54875dcb50f5e40fc86d6fe98dde244bfe4751af | ||
| 2 | Author: Joe MacDonald <joe_macdonald@mentor.com> | ||
| 3 | Date: Fri Aug 7 15:16:45 2015 -0400 | ||
| 4 | |||
| 5 | mcstrans: remove dependency on bash in initscript | ||
| 6 | |||
| 7 | There were no apparent bashisms in mcstrans.init, so remove the dependency | ||
| 8 | on bash. | ||
| 9 | |||
| 10 | Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> | ||
| 11 | |||
| 12 | Upstream-Status: Pending | ||
| 13 | |||
| 14 | Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> | ||
| 15 | --- | ||
| 16 | src/mcstrans.init | 2 +- | ||
| 17 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 18 | |||
| 19 | --- a/src/mcstrans.init | ||
| 20 | +++ b/src/mcstrans.init | ||
| 21 | @@ -1,4 +1,4 @@ | ||
| 22 | -#!/bin/bash | ||
| 23 | +#!/bin/sh | ||
| 24 | # | ||
| 25 | # mcstransd This starts and stops mcstransd | ||
| 26 | # | ||
