Fix deps file order error
authory0169.zhang <y0169.zhang@samsung.com>
Sat, 4 Feb 2017 03:26:04 +0000 (12:26 +0900)
committeryang.zhang <y0169.zhang@samsung.com>
Tue, 7 Mar 2017 05:22:53 +0000 (13:22 +0800)
Change-Id: Ic8624d3b6ed9010a8f0c281e04c5669759e87eb4

createdirdeps

index aa602ab..49bf09e 100755 (executable)
@@ -51,7 +51,7 @@ my %old;
 if (defined($oldfile) && open(F, '<', $oldfile)) {
   while (<F>) {
     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;