> To make a portable LyX you need a proper working replaceEnvironmentPath(). > (I.e. $LyXDir/component1/bin:$LyXDir/component2/bin in path_prefix must be > translated to /path/to/lyx/component1/bin:/path/to/lyx/component2/bin). > > To fix this I effectively have to revert your change set > http://www.lyx.org/trac/changeset/29587 >
The only thing I did is to not replace anything, when there is no proper replacement. That is what you call, put back the verbatim value. What is the problem with this approach ? Apparently, $LyXDir is a valid variable name, which can be replaced/expanded, so we do it. If we encounter a variable name that is not valid, we don't do anything. I might overlook something here, but I don't have time now to dive in it deeper. Vincent