On 08/01/2018 21:58, John Donners wrote:
maybe it's easier to put a symlink to the bar executable in the bin directory 
of Foo and then
point BAR_BIN simply there? I'm not sure where in the easyconfig to create the 
symlink (a
postinstallopts doesn't exist..).

That's actually a very good suggestion! :)

You're close: there's a postinstallcmds easyconfig parameter that is suited for this ("eb -a | grep postinstall").

postinstallcmds = ["ln -s $EBROOTBAR/bin/bar %(installdir)s/bin/bar"]

modextrapaths = {'BAR_BIN': '%(installdir)s/bin'}


regards,

Kenneth

Reply via email to