bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: .ONESHELL causes quoting in .SHELLFLAGS to not work as expected


From: Dmitry Goncharov
Subject: Re: .ONESHELL causes quoting in .SHELLFLAGS to not work as expected
Date: Wed, 12 Jan 2022 20:10:34 -0500

On Tue, Jan 11, 2022 at 3:53 PM Britton Kerin <britton.kerin@gmail.com> wrote:
>
> $ cat Makefile
> .ONESHELL:
> SHELL = /usr/bin/perl
> .SHELLFLAGS = -w -E 'use warnings FATAL => "all";' -E
> all:
>         print 'it works'
> $ make all
> print 'it works'
> Can't find string terminator "'" anywhere before EOF at -e line 1.
> make: *** [Makefile:5: all] Error 255
> $


Thank you for your report.
I opened https://savannah.gnu.org/bugs/index.php?61805 and attached a fix.

regards, Dmitry



reply via email to

[Prev in Thread] Current Thread [Next in Thread]