Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 May 2013 10:24:46 +0100
From:      Chris Rees <utisoft@gmail.com>
To:        Boris Samorodov <bsam@passap.ru>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, Alexey Dokuchaev <danfe@freebsd.org>, ports-committers@freebsd.org
Subject:   Re: svn commit: r318592 - head/benchmarks/mdtest
Message-ID:  <CADLo83-wWWCzwsSXH2i--gtXVN5nAtbK0zHsq0fKGdaPmF6=qQ@mail.gmail.com>
In-Reply-To: <519C71E9.30701@passap.ru>
References:  <201305201043.r4KAhCKv031239@svn.freebsd.org> <20130521023448.GA3541@FreeBSD.org> <519BA0B0.7010700@passap.ru> <519C71E9.30701@passap.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On 22 May 2013 08:21, "Boris Samorodov" <bsam@passap.ru> wrote:
>
> 21.05.2013 06:34, Alexey Dokuchaev =D0=C9=DB=C5=D4:
>
> > I am also not convinced that using subshell is required.
>
> BTW, from /usr/src/UPDATING:
> -----
> 20130516:
> [...]
>         It is worth noting that bmake (like gmake) treats the command
>         line as the unit of failure, rather than statements within the
>         command line.  Thus '(cd some/where && dosomething)' is safer
>         than 'cd some/where; dosomething'. The '()' allows consistent
>         behavior in parallel build.

OK, but spawning a subshell is still wasteful.  These times all add up when
package building happens....  I guess I still don't see the value in the
chdir.

Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo83-wWWCzwsSXH2i--gtXVN5nAtbK0zHsq0fKGdaPmF6=qQ>