From 2b214b5ccbb1d3be838db43dda908780921cb36e Mon Sep 17 00:00:00 2001 From: mquinson Date: Fri, 10 Dec 2010 13:02:48 +0000 Subject: [PATCH] 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 --- buildtools/Cmake/update_tesh.pl | 1 + 1 file changed, 1 insertion(+) 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|"); -- 2.20.1