summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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();