Date: Wed, 29 Apr 2015 17:44:22 -0700 From: Garrett Cooper <yaneurabeya@gmail.com> To: sbruno@freebsd.org Cc: ngie@freebsd.org, src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r282260 - head Message-ID: <092A08AC-D733-481E-B207-9276D97B97E0@gmail.com> In-Reply-To: <55417A43.3080704@ignoranthack.me> References: <201504300017.t3U0HXgf032607@svn.freebsd.org> <A7886FC5-6F7B-4B13-AFE0-8BE6A6EB8A83@gmail.com> <55417856.9020109@ignoranthack.me> <246BD160-EB31-48FD-ADBE-526C198C7937@gmail.com> <55417A43.3080704@ignoranthack.me>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Apr 29, 2015, at 17:41, Sean Bruno <sbruno@ignoranthack.me> wrote:
> Signed PGP part
> On 04/29/15 17:39, Garrett Cooper wrote:
> > On Apr 29, 2015, at 17:33, Sean Bruno <sbruno@ignoranthack.me>
> > wrote:
> >
> >> Signed PGP part On 04/29/15 17:29, Garrett Cooper wrote:
> >>> This $PATH doesn’t get used though…
> >>
> >> What? As far as I can tell it does. Did I miss something
> >> obvious? Because if the PATH wasn't working, gperf wouldn't be
> >> found and the builds for a native-xtools target would fail for
> >> the gcc ARCH's
> >
> > "PATH=${PATH}:${OBJTREE}/gperf_for_gcc/usr/bin” is a standalone
> > line, without a continuation, so the value should have been
> > executed in a separate shell instance and doesn’t get inherited in
> > the environment following it. Here’s an example:
> >
> > $ make -f r282260.mk A=B echo A is: $A A is: $ cat r282260.mk all:
> > A=B echo A is: $$A $
> >
> > Cheers!
> >
>
> Like I said, what am I missing if my broken Make-foo can't possibly
> work. Isn't PATH global to the Makefile/ENV or something in this contex
> t?
Not unless it’s operating in a mode I’m not specifying…
all:
PATH=${PATH}:A
echo path is: ${PATH}
echo path is: $$PATH
echo path is: /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/ngie/bin
path is: /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/ngie/bin
echo path is: $PATH
path is: /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/ngie/bin
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org
iQEcBAEBCgAGBQJVQXrmAAoJEMZr5QU6S73etjYIALXQBGP0qp/CT1wKs+vs9oG3
toQL3x/aetVS6k49vHoM2dyioxAi9xmYbz6yp2JbshZNQOq+9T82DuvfCXXivxZs
aL/fQSSNJ/V5Zzc5tGiZvr8LknuWsV+rVwkEiDc8rtwnilW+Wj9G6vTbAZaoeItL
9ZnC7p2D7uod6eBraqbvfFIoTH6lScY+zWHXcy3hvHuouVPV2ePyCDY5wpVM7I1g
DGMdKp91SgHme6wVT9Tjt7LYFctjXTJQC1Dy3o08gm6ce1tt38IrLizmii08qAWE
EsxLrQQGGI/J1cDOOkLTfR33mjmlE71+h4j0bKyzOagdDTMko2ZvrgCJhKOyvV0=
=us2I
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?092A08AC-D733-481E-B207-9276D97B97E0>
