From: Augustin Degomme Date: Fri, 4 Oct 2013 13:46:58 +0000 (+0200) Subject: new attempt X-Git-Tag: v3_9_90~40^2~13 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/a41d67458e8baa67ac59e83497e87ebc4daf3119 new attempt --- diff --git a/buildtools/Cmake/Scripts/tesh.pl b/buildtools/Cmake/Scripts/tesh.pl index c4d9722165..31acb42b13 100755 --- a/buildtools/Cmake/Scripts/tesh.pl +++ b/buildtools/Cmake/Scripts/tesh.pl @@ -392,9 +392,6 @@ LINE: while (not $finished and not $error) { $line_num++; chomp $line; - if($line!=~/\s/){ - next LINE; - } print "[TESH/debug] $line_num: $line\n" if $opts{'debug'}; my $next; # deal with line continuations @@ -409,7 +406,7 @@ LINE: while (not $finished and not $error) { } # Push delayed commands on empty lines - unless ($line =~ m/^(.)\s*(.*)$/) { + unless ($line =~ m/^(.).(.*)$/) { if (defined($cmd{'cmd'})) { exec_cmd(\%cmd); %cmd = ();