From 1cc3a774314d399828d2b13d9473c85c44036a06 Mon Sep 17 00:00:00 2001 From: "y0169.zhang" Date: Sat, 4 Feb 2017 12:26:04 +0900 Subject: [PATCH] Fix deps file order error Change-Id: Ic8624d3b6ed9010a8f0c281e04c5669759e87eb4 --- createdirdeps | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/createdirdeps b/createdirdeps index aa602ab..49bf09e 100755 --- a/createdirdeps +++ b/createdirdeps @@ -51,7 +51,7 @@ my %old; if (defined($oldfile) && open(F, '<', $oldfile)) { while () { chomp; - $old{$1} = $_ if /^([PRrCOI]:[^ ]+): /; + $old{$1} = $_ if /^([PRrsCOI]:[^ ]+): /; } close F; } @@ -78,7 +78,7 @@ for my $dir (@ARGV) { next if $seen{$idx}; $seen{$idx} = 1; print "F:$idx: $path\n"; - for (qw{P R C O I r s}) { + for (qw{P R r s C O I}) { print $old{"$_:$idx"}."\n" if $old{"$_:$idx"}; } next; -- 2.7.4