Skip to content

`bin/setup.sh` is problematic for packaging

Installing setup.sh to bin leads to some, uhm, surprising behavior for users. It means that users of a system where Acts has been installed will pick up the Acts setup script when they intend to source a local file, i.e. by running /local/dir$ source setup.sh they will actually do source /acts/install/dir/bin/setup.sh instead of the intended source /local/dir/setup.sh.

I'd propse one of the following in order to avoid causing confusion:

  • rename setup.sh to this_acts.sh like root and dd4hep do
  • or install setup.sh to a location that will not end up in $PATH
Edited by Valentin Volkl
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information