This is the patch I mentioned in the issue report. It corrects the main issue in a way that allows an override of portexe to work even in situations where the priv directory is not available (within escripts and possibly others).
As an added bonus, I corrected a warning I was getting from the C++ compilation as a dependency under mix, that didn't show when using the rebar3 on erlexec directly. (This was done prior to debugging work to create the real fix, in order to be sure it was not part of the problem.)
This is the patch I mentioned in the issue report. It corrects the main issue in a way that allows an override of
portexe
to work even in situations where thepriv
directory is not available (within escripts and possibly others).As an added bonus, I corrected a warning I was getting from the C++ compilation as a dependency under mix, that didn't show when using the rebar3 on erlexec directly. (This was done prior to debugging work to create the real fix, in order to be sure it was not part of the problem.)