Bug #1781

Fix thisbornagain.sh to correctly drop from path previous BornAgain installation.

Added by pospelov over 2 years ago.

Status:NewStart date:22 Mar 2017
Priority:LowDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

thisbornagain.sh script is used to quickly setup PYTHONPATH and LD_LIBRARY_PATH to point on BornAgain installation directory.

Inside, it tries to remove previous installation, but does it wrongly, producing following paths

PYTHONPATH=/opt/BornAgain/lib/BornAgain-1.7:/BornAgain-1.6

i.e. first part '/opt/BornAgain/lib/BornAgain-1.7' is as it should be, second part '/BornAgain-1.6' shouldn't be there.

This item is closely related to the installation directory structure. Do we want to keep what we have now?

Also available in: Atom PDF