diff --git a/CHANGELOG.md b/CHANGELOG.md index 365121c..d95ca37 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,8 +15,8 @@ * Option '--clean-install' added. If this option is set, the module is removed before building, if the module already exist. (issue #247) -* Required patches can now be defined in the YAML configuration - file (issue #249) +* Arguments to CMake/autotools and required patches can now + be defined in the YAML configuration file (issues #249, #256) * Check added whether all required group dependencies are specified and also not more than required. (issue #251) * The number of directory components to be removed while diff --git a/Pmodules/libpbuild.bash b/Pmodules/libpbuild.bash index 02a0567..41a2d1d 100644 --- a/Pmodules/libpbuild.bash +++ b/Pmodules/libpbuild.bash @@ -782,7 +782,7 @@ pbuild::configure() { local -a config_args=() local -- arg='' for arg in "${CONFIGURE_ARGS[@]}"; do - config_args+=( $(envsubst <<<"${arg}") ) + config_args+=( "$(envsubst <<<"${arg}")" ) done if [[ -r "${SRC_DIR}/configure" ]] && \ [[ "${configure_with}" == 'auto' ]] || \