bareos: master 05598d5f

Author Committer Branch Timestamp Parent
pstorz pstorz master 2021-05-31 19:34 master a8da7d03 Pending
Changeset systemtests: fix finding sudo if cmake < 3.19

cmake < 3.19 cannot find sudo:

In CMake 3.18 and below, the find_program() command on UNIX would find
files that are readable without requiring execute permission, and would
not find files that are executable without read permission. In CMake
3.19 and above, find_program now prefers to require execute permission
but not read permission.

So for now the sudo path is hardcoded.
mod - core/cmake/BareosFindPrograms.cmake Diff File
mod - systemtests/CMakeLists.txt Diff File