summaryrefslogtreecommitdiff
path: root/Utils
diff options
context:
space:
mode:
authorcarlosg <carlosg>2006-11-14 17:16:33 +0000
committercarlosg <carlosg>2006-11-14 17:16:33 +0000
commitef8ffa7d6d041af4d113a3e687f47398a4ef3e05 (patch)
tree258eb87260f8f28c73dcc71c7f9b250ba4b05d1e /Utils
parent9d2241cc220e2c846d95911be5f402872e01a351 (diff)
2006-11-14 Carlos Garnacho <carlosg@gnome.org>
* Utils/File.pm: do not double escape quotes, commands are already escaped where necessary. Fixes GNOME bug #343999.
Diffstat (limited to 'Utils')
-rw-r--r--Utils/File.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/Utils/File.pm b/Utils/File.pm
index 21ef7ca..702b501 100644
--- a/Utils/File.pm
+++ b/Utils/File.pm
@@ -68,9 +68,10 @@ sub do_get_cmd_path
$tool_path = &locate_tool ($tool_name);
return -1 if ($tool_path eq "");
-
$command = "$tool_path @argline";
- $command =~ s/\"/\\\"/g;
+ # Do not escape args, it's reasonable
+ # to assume they're already escaped
+ #$command =~ s/\"/\\\"/g;
return $command;
}