From 8f7fdc5ca38ed83ec87ce16dd3a4492fe3d2a0ac Mon Sep 17 00:00:00 2001 From: navarrop Date: Mon, 22 Nov 2010 14:29:31 +0000 Subject: [PATCH] Update script for make a remake a tesh file. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8602 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- buildtools/Cmake/update_tesh.pl | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/buildtools/Cmake/update_tesh.pl b/buildtools/Cmake/update_tesh.pl index 9d751906e1..862ffa6b4c 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,7 @@ while(defined($line=)) $line =~ s/^\$\ */.\//g; $line =~ s/^.\/lua/lua/g; $line =~ s/^.\/ruby/ruby/g; - print "$line_exec\n"; + print "\n$line_exec"; chomp $line; open (FILE, "$line 2>&1|"); while(defined($l=)) -- 2.20.1