You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When installing into a prefix with make DESTDIR=/my/custom/path install the bash completion script will still be copied to the systems root /etc/bash_completion.d instead of $DESTDIR/etc/bash_completion.d
This fails the install because the system is not writable.
To Reproduce
Steps to reproduce the behavior. For example:
Build and then run make install with DESTDIR set to a writeable path.
Expected behavior
The bash script should be installedinto the installation prefix
Describe the bug
When installing into a prefix with make DESTDIR=/my/custom/path install the bash completion script will still be copied to the systems root /etc/bash_completion.d instead of $DESTDIR/etc/bash_completion.d
This fails the install because the system is not writable.
To Reproduce
Steps to reproduce the behavior. For example:
Build and then run make install with DESTDIR set to a writeable path.
Expected behavior
The bash script should be installedinto the installation prefix
Output/Screenshots
Proposed Solution
Per cmake docs https://cmake.org/cmake/help/latest/command/install.html a relative path will be interpreted relative to the installation prefix.
On line
ifm3d/modules/tools/contrib/CMakeLists.txt
Line 14 in 70971db
the leading / from the DESTINATION path /etc/bash_completion.d should be removed.
The text was updated successfully, but these errors were encountered: