From e0408f8a636f3545e5c249e6b25d6e587e58b12e Mon Sep 17 00:00:00 2001 From: Alexey Gladkov Date: Tue, 31 Mar 2020 23:54:35 +0300 Subject: [PATCH] REDHAT: newlines Signed-off-by: Alexey Gladkov --- make/src/job.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/make/src/job.c b/make/src/job.c index ae1f18b..644161a 100644 --- a/make/src/job.c +++ b/make/src/job.c @@ -3422,13 +3422,14 @@ construct_command_argv_internal (char *line, char **restp, const char *shell, #endif if (PRESERVE_BSNL) { - *(ap++) = '\\'; + *(ap++) = '\''; /* Only non-batch execution needs another backslash, because it will be passed through a recursive invocation of this function. */ if (!batch_mode_shell) *(ap++) = '\\'; *(ap++) = '\n'; + *(ap++) = '\''; } ++p; continue; -- 2.24.1