From 4b6c99baaef78580375a2575c32ce1b6c30bf8cb Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Mon, 7 Mar 2022 18:17:53 +0100 Subject: Less noisy configure step. --- src/configure.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/configure.cc b/src/configure.cc index 37bd3cf..4df6026 100644 --- a/src/configure.cc +++ b/src/configure.cc @@ -72,7 +72,7 @@ const std::string& getConfiguration(const std::string& key, std::string locate(const std::string& arch, const std::string& app) { std::string path_env = std::getenv("PATH"); - std::cout << path_env << "\n"; + //std::cout << path_env << "\n"; std::string program = app; if(!arch.empty()) @@ -100,15 +100,15 @@ std::string locate(const std::string& arch, const std::string& app) auto perms = std::filesystem::status(prog_path).permissions(); if((perms & std::filesystem::perms::owner_exec) != std::filesystem::perms::none) { - std::cout << " - executable by owner\n"; + //std::cout << " - executable by owner\n"; } if((perms & std::filesystem::perms::group_exec) != std::filesystem::perms::none) { - std::cout << " - executable by group\n"; + //std::cout << " - executable by group\n"; } if((perms & std::filesystem::perms::others_exec) != std::filesystem::perms::none) { - std::cout << " - executable by others\n"; + //std::cout << " - executable by others\n"; } return prog_path.string(); -- cgit v1.2.3