From: mquinson Date: Fri, 10 Dec 2010 13:02:48 +0000 (+0000) Subject: quote the arguments to --log since they are not quoted enough in tesh files to suppor... X-Git-Tag: v3.6_beta2~791 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/2b214b5ccbb1d3be838db43dda908780921cb36e?ds=inline quote the arguments to --log since they are not quoted enough in tesh files to support interpretation by the shell git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9132 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/buildtools/Cmake/update_tesh.pl b/buildtools/Cmake/update_tesh.pl index 862ffa6b4c..ae1491cdc8 100644 --- a/buildtools/Cmake/update_tesh.pl +++ b/buildtools/Cmake/update_tesh.pl @@ -36,6 +36,7 @@ while(defined($line=)) $line =~ s/^\$\ */.\//g; $line =~ s/^.\/lua/lua/g; $line =~ s/^.\/ruby/ruby/g; + $line =~ s/--log=([^ ]*)/--log="$1"/g; print "\n$line_exec"; chomp $line; open (FILE, "$line 2>&1|");