Fix initialization script to work on systems with alternative library directory naming
Currently the main CMakeLists.txt in Garfield installs the libraries into ${CMAKE_INSTALL_LIBDIR}
, however the setupGarfield.sh/csh
script assumes these libraries are present at $GARFIELD_INSTALL/lib
which is not always the case. In some systems the libraries will be installed at $GARFIELD_INSTALL/lib64
, making the initialization script fail.
This changes should fix this problem.
Edited by Luis Antonio Obis Aparicio