From 9b4a3530039ff9307988672abe54fd87c3fce3c8 Mon Sep 17 00:00:00 2001 From: "hyokeun.jeon" Date: Thu, 20 May 2021 15:04:31 +0900 Subject: [PATCH] Pre-ordered build list from file Change-Id: I44d8abf881f1bd7f68cbf8301c24240acc1afcd1 --- depanneur | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/depanneur b/depanneur index d28624d..51190af 100755 --- a/depanneur +++ b/depanneur @@ -2691,6 +2691,14 @@ sub prepare_preorder_list { my_system("rm -rf bsr_profiling_report"); if ($preordered_list ne "") { @preview_orders = split /[:,\s\/]+/, $preordered_list; + if (-e $preordered_list) { + if (open my $info, '<', $preordered_list) { + while (my $line = <$info>) { + push @preview_orders, (split /[:,\s\/]+/, $line); + } + close $info; + } + } } if ($profiling ne "" && `which bsr`) { my $preview_command = "bsr reorder -j $profiling "; -- 2.34.1