Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
In tesh.pl, with "output display", print contents of array, and not a reference to it.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Thu, 12 Jun 2014 10:55:10 +0000 (12:55 +0200)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Thu, 12 Jun 2014 13:50:17 +0000 (15:50 +0200)
buildtools/Cmake/Scripts/tesh.pl

index ec72da1..5635c4c 100755 (executable)
@@ -375,7 +375,7 @@ sub parse_out {
   my $diff;
   if (defined($cmd{'output display'})){
     print "[Tesh/INFO] Here is the (ignored) command output:\n";
-    map { print "||$_\n" } \@got;
+    map { print "||$_\n" } @got;
   }
   elsif (!defined($cmd{'output ignore'})){
     $diff = build_diff(\@{$cmd{'out'}}, \@got);