mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-29 15:44:02 +00:00
run: avoid superfluous call of depot auto update
If only versioned archives are supplied to a depot function like 'create_tar_from_depot_binaries', the depot/create tool is called with zero arguments, resulting in a help message. The patch detects this case and skips the call.
This commit is contained in:
parent
48f0307234
commit
410cd9cfc4
@ -209,6 +209,9 @@ proc _depot_auto_update { archives } {
|
||||
# remove duplicates
|
||||
set archives_to_create [lsort -unique $archives_to_create]
|
||||
|
||||
if {[llength $archives_to_create] == 0} {
|
||||
return }
|
||||
|
||||
set cmd "[genode_dir]/tool/depot/create $archives_to_create "
|
||||
append cmd "CROSS_DEV_PREFIX=[cross_dev_prefix] "
|
||||
append cmd "DEPOT_DIR=[depot_dir] "
|
||||
|
Loading…
x
Reference in New Issue
Block a user