Merge pull request #1334 from Pmodules/1333-substitute-env-vars-in-tmpdir-and-distfilesdir

libpmodules: substitute env-vars in Pmodules.yaml
This commit is contained in:
2025-11-27 18:07:56 +01:00
committed by GitHub
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -7,6 +7,8 @@
(#1316, #1331)
### build system
* Substitute environment variables in TmpDir and DistFilesDir in Pmodules.yaml
(#1333)
* Function to simplify building modules with pip3 added.
(#1329)
* pbuild::install_docfiles() is now obsolete. If called it exists with
+2
View File
@@ -425,9 +425,11 @@ pm::read_config(){
;;
tmpdir | tmp_dir )
yml::get_value TmpDir yaml_input ".${key}" '!!str'
TmpDir="$(envsubst <<<"${TmpDir}")"
;;
distfilesdir | download_dir )
yml::get_value DistfilesDir yaml_input ".${key}" '!!str'
DistfilesDir="$(envsubst <<<"${DistfilesDir}")"
;;
overlays )
local -- overlay=''