use new syntax
authorthierry <thierry@41d37cc5-eb28-0410-a9bf-d37491348ade>
Thu, 8 Oct 2009 12:54:48 +0000 (12:54 +0000)
committerthierry <thierry@41d37cc5-eb28-0410-a9bf-d37491348ade>
Thu, 8 Oct 2009 12:54:48 +0000 (12:54 +0000)
scripts/all-modules.sh

index c3e3e81..b5cd366 100755 (executable)
@@ -51,16 +51,20 @@ function do_diff () {
     
     mkdir -p $out_dir
     
-    ( echo $name ; \
-      date ; \
-      $build_dir/module-diff -a -o ; \
-      date ) &> $out_tmp
-
-    ( echo 'WARNINGS (if any)' ; \
-      egrep 'was not found|Skipping failed' $out_tmp ;
-      cat $out_tmp ) > $out_file
+### older syntax was messy    
+#    ( echo $name ; \
+#      date ; \
+#      $build_dir/module-diff -a -o ; \
+#      date ) &> $out_tmp
+#
+#    ( echo 'WARNINGS (if any)' ; \
+#      egrep 'was not found|Skipping failed' $out_tmp ;
+#      cat $out_tmp ) > $out_file
+#
+#    rm -f $out_tmp
+
+    $build_dir/module-diff -a -W $name &> $out_file
 
-    rm -f $out_tmp
 }
 
 function usage () {