[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug #41246] Allow to switch shell batch mode at runtime instead of
From: |
Mike Hommey |
Subject: |
Re: [bug #41246] Allow to switch shell batch mode at runtime instead of build time |
Date: |
Thu, 6 Feb 2014 06:31:15 +0900 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Thu, Feb 06, 2014 at 06:23:46AM +0900, Mike Hommey wrote:
> On Wed, Feb 05, 2014 at 11:10:11PM +0200, Eli Zaretskii wrote:
> > > Date: Thu, 6 Feb 2014 05:58:08 +0900
> > > From: Mike Hommey <address@hidden>
> > > Cc: address@hidden, address@hidden, address@hidden
> > >
> > > But the thing is there is still inconsistency in how things end up being
> > > invoked whether
> > > - make calls them directly
> > > - make uses sh -c
> > > - make uses sh script.sh
> >
> > When the shell is a Unixy one, only the first 2 methods are used, and
> > they are used exactly like on Posix platforms.
>
> Except when make is built with BATCH_MODE_SHELL_ONLY. Which is needed
> when sh -c fucks up with double quotes.
And, more importantly, it's the first two that don't work the same way:
$ mkdir foo
$ echo foo > foo/bar
$ cat <<EOF >foo.mk
default:
grep foo foo\\bar
grep "foo" foo\\bar
$ make -f foo.mk
grep foo foo\\bar
foo
grep "foo" foo\\bar
/usr/bin/sh: foobar: No such file or directory
- Re: [bug #41246] Allow to switch shell batch mode at runtime instead of build time, (continued)
- Re: [bug #41246] Allow to switch shell batch mode at runtime instead of build time, Mike Hommey, 2014/02/03
- Re: [bug #41246] Allow to switch shell batch mode at runtime instead of build time, Eli Zaretskii, 2014/02/04
- Re: [bug #41246] Allow to switch shell batch mode at runtime instead of build time, Mike Hommey, 2014/02/05
- Re: [bug #41246] Allow to switch shell batch mode at runtime instead of build time, Eli Zaretskii, 2014/02/05
- Re: [bug #41246] Allow to switch shell batch mode at runtime instead of build time, Mike Hommey, 2014/02/05
- Re: [bug #41246] Allow to switch shell batch mode at runtime instead of build time, Eli Zaretskii, 2014/02/05
- Re: [bug #41246] Allow to switch shell batch mode at runtime instead of build time, Mike Hommey, 2014/02/05
- Re: [bug #41246] Allow to switch shell batch mode at runtime instead of build time,
Mike Hommey <=
- Re: [bug #41246] Allow to switch shell batch mode at runtime instead of build time, Eli Zaretskii, 2014/02/06
- Re: [bug #41246] Allow to switch shell batch mode at runtime instead of build time, Eli Zaretskii, 2014/02/06
- Re: [bug #41246] Allow to switch shell batch mode at runtime instead of build time, Mike Hommey, 2014/02/06
- Re: [bug #41246] Allow to switch shell batch mode at runtime instead of build time, Eli Zaretskii, 2014/02/06
- Re: [bug #41246] Allow to switch shell batch mode at runtime instead of build time, Mike Hommey, 2014/02/06
- Re: [bug #41246] Allow to switch shell batch mode at runtime instead of build time, Eli Zaretskii, 2014/02/06
- Re: [bug #41246] Allow to switch shell batch mode at runtime instead of build time, Mike Hommey, 2014/02/26
- Re: [bug #41246] Allow to switch shell batch mode at runtime instead of build time, Mike Hommey, 2014/02/05
- Re: [bug #41246] Allow to switch shell batch mode at runtime instead of build time, Eli Zaretskii, 2014/02/05