From e107fdf7db93a6871927d21c426f10226ce81949 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Thu, 29 Jan 2026 16:49:30 +0100 Subject: [PATCH] build-system: don't pass empty string as arg to configure/cmake --- CHANGELOG.md | 2 ++ Pmodules/modbuild.in | 1 + 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3395bba..20a9e20 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,8 @@ (#1354) ### build system +* Don't pass an empty string as argument to configure/cmake. + (#1356) ## Version 2.0.3 diff --git a/Pmodules/modbuild.in b/Pmodules/modbuild.in index dc7e3b4..2bb9c51 100644 --- a/Pmodules/modbuild.in +++ b/Pmodules/modbuild.in @@ -1207,6 +1207,7 @@ build_modules_yaml_v1(){ set_configure_args(){ local -a args=() + [[ -z "$1" ]] && return 0 readarray -t args <<< "$1" pbuild.set_configure_args "${args[@]}" }