From 3dd257f0e72c4b9c83a930b79a8d1864dae3a745 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 30 Jan 2024 20:28:53 +0300 Subject: Fix common/bulk/buildfile to properly work for dist meta-operation --- common/bulk/buildfile | 7 +++++-- 1 file 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} -- cgit v1.1