X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ab0e15202bf1d741ae159846c7349258544e3f43..953653e94d85bf9b5c5a226294d28549414836d1:/buildtools/Cmake/update_tesh.pl diff --git a/buildtools/Cmake/update_tesh.pl b/buildtools/Cmake/update_tesh.pl index 9d751906e1..ae1491cdc8 100644 --- a/buildtools/Cmake/update_tesh.pl +++ b/buildtools/Cmake/update_tesh.pl @@ -1,13 +1,12 @@ #!/usr/bin/perl -w use strict; -if($#ARGV!=2) { - die "Usage: perl make_tesh.pl \n"; +if($#ARGV!=1) { + die "Usage: perl make_tesh.pl \n"; } my($directory)=$ARGV[0]; my($old)=$ARGV[1]; -my($new)=$ARGV[2]; chdir("$directory"); @@ -37,7 +36,8 @@ while(defined($line=)) $line =~ s/^\$\ */.\//g; $line =~ s/^.\/lua/lua/g; $line =~ s/^.\/ruby/ruby/g; - print "$line_exec\n"; + $line =~ s/--log=([^ ]*)/--log="$1"/g; + print "\n$line_exec"; chomp $line; open (FILE, "$line 2>&1|"); while(defined($l=))