My installer uses <addDirectoryToPath>. On Linux (Ubuntu/Debian), it adds entries to both the $HOME/.bashrc and $HOME/.profile files. However, my $HOME/.profile file includes the following code:
As a result, my new path is added to the $PATH two times and my path looks like this:
Considering all the different flavors of Linux, isn't there a better way to update the $PATH without appending it twice?
asked 05 Jul '12, 00:02
It is not currently possible to avoid that. InstallBuilder adds the defined PATH to both scripts to make sure it is always available. In any case, just duplicating the value once should not cause any issue.
answered 09 Jul '12, 10:51