aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2024-01-30 20:28:53 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-01-30 20:29:41 +0300
commit3dd257f0e72c4b9c83a930b79a8d1864dae3a745 (patch)
treed54e629c6e4e9e83b046d6ef23ccccbc26bef414
parentfc3fb39c90ab7fe5fccbe3f3bc0eb2645157bb96 (diff)
Fix common/bulk/buildfile to properly work for dist meta-operation
-rw-r--r--common/bulk/buildfile7
1 files changed, 5 insertions, 2 deletions
diff --git a/common/bulk/buildfile b/common/bulk/buildfile
index 417eb22..68e3c8b 100644
--- a/common/bulk/buildfile
+++ b/common/bulk/buildfile
@@ -1,8 +1,11 @@
# file : common/bulk/buildfile
# license : GNU GPL v2; see accompanying LICENSE file
-assert (!$pgsql || $pgsql_bulk || $size($databases) != 1) \
-"bulk operations are disabled for pgsql which is specified as single database"
+if ($build.meta_operation != 'dist')
+{
+ assert (!$pgsql || $pgsql_bulk || $size($databases) != 1) \
+ "bulk operations are disabled for pgsql which is specified as single database"
+}
import libodb = libodb%lib{odb}