]> git.sesse.net Git - vlc/commitdiff
Don't skip some errors lines and skip some others.
authorRémi Duraffort <ivoire@videolan.org>
Tue, 23 Dec 2008 13:37:18 +0000 (14:37 +0100)
committerRémi Duraffort <ivoire@videolan.org>
Sat, 27 Dec 2008 10:54:53 +0000 (11:54 +0100)
extras/buildsystem/make.pl

index 47e4200a9fdce650a183a30d60a0cd6cd2736b97..d2dee333a537bcf19be6d5608de1b6a9530734d9 100755 (executable)
@@ -23,8 +23,7 @@ while(<STDIN>)
      $line = $_;
      chomp $line;
      # Skip entering/leaving directories and incomplete lines
-     if(
-       $line =~ /make\[([0-9]*)\]:.*/ ||
+     if($line =~ /make\[([0-9]*)\]:.*/ ||
 #       $line =~ /.*\s\\$/ ||
         $line =~ /^test\s\-z\s/ ||
         $line =~ /^Making\sclean\sin\s\./ ||
@@ -45,16 +44,16 @@ while(<STDIN>)
        $line =~ /^rm\s-fr\s(.*)/ ||
        $line =~ /^mv\s-f\s(.*)/ ||
        $line =~ /^ln\s-s\s(.*)/ ||
-       $line =~ /^echo\s/ ||
+       $line =~ /^\s*echo\s/ ||
        $line =~ /^mkdir\s/ ||
-       $line =~ /^cat\s/ ||
+       $line =~ /^\s*cat\s/ ||
        $line =~ /^grep\s/ ||
        $line =~ /^cd\s/ ||
        $line =~ /^sed\s/ ||
        $line =~ /^bindir=\s/ ||
        $line =~ /^libtool:\s/ ||
-       $line =~ /^creating lib.*/ ||
-        $line =~ /^\s*\// )
+       $line =~ /^\/bin\/sh/ ||
+       $line =~ /^creating lib.*/)
      {}
      # Info
      elsif(