ebc542f broke compilation of the codebase in the test controller. This PR fixes the build script by checking whether sudo is required for various commands, and omits it if not.
clang-format-13 is already the newest version (1:13.0.1~++20220120110924+75e33f71c2da-1~exp1~20220120231001.58).
clang-tidy-13 is already the newest version (1:13.0.1~++20220120110924+75e33f71c2da-1~exp1~20220120231001.58).
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
[0;32mInstalling NuRaft from cache...[0m
[0;32mCopying nuraft to /usr/local. sudo needed[0m
/app/data/sources/scripts/configure.sh: line 80: sudo: command not found
ebc542f broke compilation of the codebase in the test controller. This PR fixes the build script by checking whether
sudo
is required for various commands, and omits it if not.