aboutsummaryrefslogtreecommitdiff
path: root/common/bulk
diff options
context:
space:
mode:
Diffstat (limited to 'common/bulk')
-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}