mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-30 03:09:40 +02:00
libpmodules: substitute env-vars in Pmodules.yaml
Subsitute environment variables if used in TmpDir and DistFilesDir in Pmodules.yaml.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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=''
|
||||
|
||||
Reference in New Issue
Block a user