Merge branch '256-build-system-result-of-envsubst-must-be-quoted' into 'master'

Resolve "build-system: result of envsubst must be quoted"

Closes #256

See merge request Pmodules/src!233
This commit is contained in:
2024-04-17 15:06:40 +02:00
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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
+1 -1
View File
@@ -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' ]] || \