summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2022-03-07 18:17:53 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2022-03-07 18:17:53 +0100
commit4b6c99baaef78580375a2575c32ce1b6c30bf8cb (patch)
tree1c60573c15c34fc4401bdb2ae42237195829a9f3 /src
parent0855b2177b62fa719eff6643e3b433c41eecf142 (diff)
Less noisy configure step.
Diffstat (limited to 'src')
-rw-r--r--src/configure.cc8
1 files 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();