mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-07-07 14:20:50 +02:00
build-system: use readarray to set list Systems from YAML config
This commit is contained in:
@@ -897,9 +897,9 @@ declare -a Systems
|
||||
pbuild.build_module_yaml(){
|
||||
local -- module_name="$1"
|
||||
local -- module_version="$2"
|
||||
Config=$3
|
||||
Config="$3"
|
||||
local -- module_relstage="${Config['relstage']}"
|
||||
Systems=( ${Config['systems']} )
|
||||
readarray -t Systems <<< "${Config['systems']}"
|
||||
shift 3
|
||||
_build_module "${module_name}" "${module_version}" "${module_relstage}" "$@"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user