Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 697b275 commit 1ec9a59Copy full SHA for 1ec9a59
src/subprocess/util.cpp
@@ -16,7 +16,7 @@ namespace linuxdeploy::subprocess {
16
std::string current_env_var_str(*current_env_var);
17
const auto first_eq = current_env_var_str.find_first_of('=');
18
const auto env_var_name = current_env_var_str.substr(0, first_eq);
19
- const auto env_var_value = current_env_var_str.substr(first_eq);
+ const auto env_var_value = current_env_var_str.substr(first_eq + 1);
20
result[env_var_name] = env_var_value;
21
}
22
0 commit comments