OS X: odd behaviour when selecting "How to install for command line use" from installed cmake-gui
Steps to reproduce:
- download and install CMake (3.24.2) on OS X from .dmg
- run app (from Applications)
- choose "How to install for command line use"
- copy and execute command for "install symlinks to /usr/local/bin"
- quit CMake app
- from terminal, run "cmake-gui"
- GUI app starts
- choose "How to install for command line use"
Expected behaviour:
- same paths as last time
Actual behaviour
- source paths are now all /usr/local/bin (which if you ran the command again means you would replace the symlinks in /usr/local/bin with symlinks to the symlinks)
Impact: Minor, unless someone actually follows the instructions, in which case it breaks the install
Recommended behaviour: resolve symlinks and present the original file path