Don't unquote args in bugpoint or setenv
This commit is contained in:
@@ -149,9 +149,6 @@ struct BugpointPass : public Pass {
|
||||
if (grep.empty())
|
||||
return true;
|
||||
|
||||
if (grep.size() > 2 && grep.front() == '"' && grep.back() == '"')
|
||||
grep = grep.substr(1, grep.size() - 2);
|
||||
|
||||
string bugpoint_file = "bugpoint-case";
|
||||
if (suffix.size())
|
||||
bugpoint_file += stringf(".%.8s", suffix);
|
||||
|
||||
@@ -46,7 +46,6 @@ struct SetenvPass : public Pass {
|
||||
|
||||
std::string name = args[1];
|
||||
std::string value = args[2];
|
||||
if (value.front() == '\"' && value.back() == '\"') value = value.substr(1, value.size() - 2);
|
||||
|
||||
#if defined(_WIN32)
|
||||
_putenv_s(name.c_str(), value.c_str());
|
||||
|
||||
Reference in New Issue
Block a user