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[@]}" }