From a41d67458e8baa67ac59e83497e87ebc4daf3119 Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Fri, 4 Oct 2013 15:46:58 +0200 Subject: [PATCH] new attempt --- buildtools/Cmake/Scripts/tesh.pl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 = (); -- 2.20.1