Moving sources (base/ports) from /usr
Polytropon
freebsd at edvax.de
Wed May 20 12:33:52 UTC 2020
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, ...
More information about the freebsd-questions
mailing list