Date: Wed, 20 May 2020 14:33:48 +0200 From: Polytropon <freebsd@edvax.de> To: listac@nebelschwaden.de Cc: freebsd-questions@freebsd.org Subject: Re: Moving sources (base/ports) from /usr Message-ID: <20200520143348.7de38012.freebsd@edvax.de> In-Reply-To: <2c3bd26c-aaa3-9998-e5e5-e3f4f3796ffc@nebelschwaden.de> References: <8d48921e-7af1-9313-0781-4ba4bd9c1f10@nebelschwaden.de> <ee6f9d59-9ac3-5d1e-baec-405fc1b24ab2@nebelschwaden.de> <20200520110833.f47610a48f0f28dd563c13aa@sohara.org> <2c3bd26c-aaa3-9998-e5e5-e3f4f3796ffc@nebelschwaden.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 20 May 2020 13:17:14 +0200, Ede Wolf wrote: > I'll have a more in depth read through the explanation of Polytropon and > sh(1) and certainly will give that a go. Very likely mergemaster calls > it's own /bin/sh and that would then require the .shrc. > > Even though I still maintain, an export in [.]profile should be handed > down to every subshell, unless overwritten. Exactly. And even if you take into mind that mergemaster is a sh script, it's strange that on first invocation - $SOURCEDIR has been set during shell initialization - it doesn't work, but on second invocation - $SOURCEDIR has been set manually to the value it already had - it works as expected. It's probably hard to explain why this could be considered expected behaviour... ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200520143348.7de38012.freebsd>