RE: using $(shell some sh command) when .SHELL has been (temporarily) set to non

2025-04-09 Thread Cook, Malcolm
> -Original Message- > From: Cook, Malcolm > Sent: Wednesday, April 9, 2025 8:14 AM > To: Dmitry Goncharov > Cc: help-make@gnu.org > Subject: RE: using $(shell some sh command) when .SHELL has been > (temporarily) set to non > > Sure, thanks for taking an interest > > The following

RE: using $(shell some sh command) when .SHELL has been (temporarily) set to non

2025-04-09 Thread Cook, Malcolm
Sure, thanks for taking an interest The following output demonstrates the issue first with changing the shell to `bash` and then changing it to duckdb. Note, the script that produces this output has -n in the shebang line, so the recipes are not event being run. GNU Make 4.4.1 Built for x

Re: using $(shell some sh command) when .SHELL has been (temporarily) set to non

2025-04-09 Thread Dmitry Goncharov
On Thu, Apr 3, 2025 at 3:35 PM Cook, Malcolm wrote: > > I expect GNU make is working as expected, but I could use confirmation > > I was surprised when setting SHELL (e.g. to `duckdb`) to find that a simply > expanded variable that expands to $(shell some sh command) wound up passing > 'my