From e4ca62e2be22f2d04e819d39dfb66e6e15700fdd Mon Sep 17 00:00:00 2001 From: "y0169.zhang" Date: Sat, 4 Feb 2017 12:26:04 +0900 Subject: 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; -- cgit v1.2.3