Commit b30a3fa
authored
Strip quotes from environment variables when parsing from activate.sh (#277)
This fixes parsing of environment variables that are quoted in
`activate.sh`, such as
```
export NCCL_NET='AWS Libfabric'
```
Before this PR the above would be parsed to the value `'AWS Libfabric'`,
literally, including the quotes. The quotes would be removed by bash,
but when uenv sets environment variables the quotes are retained. In the
particular case of `NCCL_NET` the quoted value is not a valid name for a
plugin name, so NCCL fails to find the plugin.1 parent 95740f0 commit b30a3fa
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
399 | 399 | | |
400 | 400 | | |
401 | 401 | | |
402 | | - | |
| 402 | + | |
403 | 403 | | |
404 | 404 | | |
405 | 405 | | |
| |||
0 commit comments