]> jspc29.x-matter.uni-frankfurt.de Git - trb3.git/commitdiff
Somewhat better grepping for errors in compile script
authorAndreas Neiser <neiser@kph.uni-mainz.de>
Fri, 23 May 2014 09:12:23 +0000 (11:12 +0200)
committerAndreas Neiser <neiser@kph.uni-mainz.de>
Fri, 23 May 2014 09:12:23 +0000 (11:12 +0200)
ADC/compile_periph_gsi.pl

index c8d7fd74ea93fc50c75747ede0b0629e984e0093..f75159ff27feb87e79163f6fc7af655eb1db735a 100755 (executable)
@@ -78,6 +78,8 @@ my $c="$synplify_path/bin/synplify_premier_dp -batch $TOPNAME.prj";
 $r=execute($c, "do_not_exit" );
 
 
+
+
 chdir $WORKDIR or die "can't chdir to $WORKDIR: $!";
 
 
@@ -90,7 +92,7 @@ $fh->close;
 foreach (@a) {
   if (/\@E:/) {
     print "\n";
-    $c="cat $TOPNAME.srr | grep \"\@E\"";
+    $c="cat $TOPNAME.srr | grep -C 3 \"\@E\"";
     system($c);
     print "\n\n";
     exit 129;