mirror of
https://github.com/YosysHQ/yosys
synced 2025-10-10 09:48:06 +00:00
Don't unquote args in bugpoint or setenv
This commit is contained in:
parent
ab6bdb50a9
commit
137a801b4a
2 changed files with 0 additions and 4 deletions
|
@ -149,9 +149,6 @@ struct BugpointPass : public Pass {
|
||||||
if (grep.empty())
|
if (grep.empty())
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if (grep.size() > 2 && grep.front() == '"' && grep.back() == '"')
|
|
||||||
grep = grep.substr(1, grep.size() - 2);
|
|
||||||
|
|
||||||
string bugpoint_file = "bugpoint-case";
|
string bugpoint_file = "bugpoint-case";
|
||||||
if (suffix.size())
|
if (suffix.size())
|
||||||
bugpoint_file += stringf(".%.8s", suffix);
|
bugpoint_file += stringf(".%.8s", suffix);
|
||||||
|
|
|
@ -46,7 +46,6 @@ struct SetenvPass : public Pass {
|
||||||
|
|
||||||
std::string name = args[1];
|
std::string name = args[1];
|
||||||
std::string value = args[2];
|
std::string value = args[2];
|
||||||
if (value.front() == '\"' && value.back() == '\"') value = value.substr(1, value.size() - 2);
|
|
||||||
|
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
_putenv_s(name.c_str(), value.c_str());
|
_putenv_s(name.c_str(), value.c_str());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue