If it is just a matter of ensuring LPCONFIG is exported correctly, a quick fix would be to create ~/.lpconfig - the contents of this will be used as the configuration name if LPCONFIG environment variable is not set.
If it is just a matter of ensuring LPCONFIG is exported correctly, a quick fix would be to create ~/.lpconfig - the contents of this will be used as the configuration name if LPCONFIG environment variable is not set.