From 7e2c0f80b2b3e5b6442178b2376b011ed87743f4 Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 09 2020 21:47:14 +0000 Subject: Apply patch make-4.0-weird-shell.patch patch_name: make-4.0-weird-shell.patch present_in_specfile: true location_in_specfile: 5 --- diff --git a/job.c b/job.c index 2df0eba..11ec818 100644 --- a/job.c +++ b/job.c @@ -2561,7 +2561,11 @@ construct_command_argv_internal (char *line, char **restp, const char *shell, /* See if it is safe to parse commands internally. */ if (shell == 0) - shell = default_shell; + { + shell = default_shell; + if (shellflags == 0) + shellflags = "-c"; + } #ifdef WINDOWS32 else if (strcmp (shell, default_shell)) {