mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 09:46:20 +00:00
run: let import_from_depot accept list variables
When doing something like this in a run script ... lappend arg X lappend arg Y lappend arg Z import_from_depot arg ... the internals of import_from_depot do not treat $arg as list but as one string and interprets it as malformed depot path. We can handle this by applying {*} to $arg inside the procedure. Issue #2619
This commit is contained in:
parent
edf1f9d849
commit
f01bdb9949
@ -204,7 +204,7 @@ proc _collect_from_depot { archives } {
|
||||
#
|
||||
proc import_from_depot { args } {
|
||||
|
||||
foreach subdir [_collect_from_depot $args] {
|
||||
foreach subdir [_collect_from_depot {*}$args] {
|
||||
|
||||
# prevent src, api, and pkg archives from inflating the boot image
|
||||
if {[regexp [_depot_archive_versioned_path_pattern] $subdir dummy user type]} {
|
||||
|
Loading…
x
Reference in New Issue
Block a user