aboutsummaryrefslogtreecommitdiff
path: root/bbot/worker/worker.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bbot/worker/worker.cxx')
-rw-r--r--bbot/worker/worker.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/bbot/worker/worker.cxx b/bbot/worker/worker.cxx
index 0bf480f..1911fb0 100644
--- a/bbot/worker/worker.cxx
+++ b/bbot/worker/worker.cxx
@@ -17,7 +17,7 @@
#include <libbutl/b.hxx>
#include <libbutl/pager.hxx>
#include <libbutl/prompt.hxx>
-#include <libbutl/utility.hxx> // to_utf8(), eof(), alpha()
+#include <libbutl/utility.hxx> // to_utf8(), eof()
#include <libbutl/timestamp.hxx>
#include <libbutl/filesystem.hxx>
#include <libbutl/string-parser.hxx>
@@ -2629,6 +2629,8 @@ build (size_t argc, const char* argv[])
{
dir_path pkg_dir;
+ // Note: doesn't follow symlinks.
+ //
path_search (dir_path (pkg + "-*/"),
[&pkg_dir] (path&& pe, const string&, bool interm)
{
@@ -2637,7 +2639,8 @@ build (size_t argc, const char* argv[])
return interm;
},
- dist_root);
+ dist_root,
+ path_match_flags::none);
if (!pkg_dir.empty ())
{