Fix deps file order error
authory0169.zhang <y0169.zhang@samsung.com>
Sat, 4 Feb 2017 03:26:04 +0000 (12:26 +0900)
committerSoonKyu Park <sk7.park@samsung.com>
Mon, 13 Feb 2017 08:20:55 +0000 (17:20 +0900)
Change-Id: Ic8624d3b6ed9010a8f0c281e04c5669759e87eb4

createdirdeps

index aa602abdac792846957664e5c443c46d0e3d0217..49bf09e37f4bcf67b9f1780a41a8ce54f5de47d6 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;