aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/mod-package-search.cxx2
-rw-r--r--mod/mod-repository-root.cxx10
2 files changed, 6 insertions, 6 deletions
diff --git a/mod/mod-package-search.cxx b/mod/mod-package-search.cxx
index 23db29a..e1cd03f 100644
--- a/mod/mod-package-search.cxx
+++ b/mod/mod-package-search.cxx
@@ -62,7 +62,7 @@ init (scanner& s)
if (schema_catalog::current_version (*package_db_, ds) !=
package_db_->schema_version (ds))
fail << "database 'package' schema differs from the current one (module "
- << BREP_VERSION_STR << ")";
+ << BREP_VERSION_ID << ")";
}
template <typename T>
diff --git a/mod/mod-repository-root.cxx b/mod/mod-repository-root.cxx
index bac63ca..00cdea4 100644
--- a/mod/mod-repository-root.cxx
+++ b/mod/mod-repository-root.cxx
@@ -364,10 +364,10 @@ namespace brep
{
MODULE_DIAG;
- info << "module " << BREP_VERSION_STR
- << ", libbrep " << LIBBREP_VERSION_STR
- << ", libbbot " << LIBBBOT_VERSION_STR
- << ", libbpkg " << LIBBPKG_VERSION_STR
- << ", libbutl " << LIBBUTL_VERSION_STR;
+ info << "module " << BREP_VERSION_ID
+ << ", libbrep " << LIBBREP_VERSION_ID
+ << ", libbbot " << LIBBBOT_VERSION_ID
+ << ", libbpkg " << LIBBPKG_VERSION_ID
+ << ", libbutl " << LIBBUTL_VERSION_ID;
}
}