From 958fb1a5f5900972f3eb37a3e299c2dcad30d03a Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 21 Jan 2018 21:08:05 +0100 Subject: bin/mysql-functions: allow for longer mysql commands --- bin/mysql-functions | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bin/mysql-functions') diff --git a/bin/mysql-functions b/bin/mysql-functions index b5c7d80..d3c7ec4 100755 --- a/bin/mysql-functions +++ b/bin/mysql-functions @@ -567,7 +567,7 @@ mysql_generate_package_metadata() { done printf '.' >&2 - ${mysql_command} -e "$( + { if [ -s "${temp_dir}/add-build-assignments-command" ]; then cat "${temp_dir}/add-build-assignments-command" fi @@ -577,7 +577,8 @@ mysql_generate_package_metadata() { if [ -s "${temp_dir}/add-install-targets-command" ]; then cat "${temp_dir}/add-install-targets-command" fi - )" + } | \ + ${mysql_command} printf '.' >&2 ) -- cgit v1.2.3-70-g09d2