From 9418fd91c741eb510e889a1964448521d74a30b0 Mon Sep 17 00:00:00 2001 From: Packit Date: Sep 04 2020 13:06:13 +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)) {