Use config.toml rather than an environment variable for the Cargo registry #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "bugfix/config-instead-of-env-var-for-cargo"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
There was an issue with the Cargo registry configuration (
/opt/ltfnet/setup-cargo-registry.sh).Since the script is executed in a sub-process, the
exportof theCARGO_REGISTRIES_LTFNET_TOKENis obviously not persisted when the shell that runs the script exits.Changes
This pull request fixes the above issue by writing the token to the
/usr/local/cargo/config.tomlfile instead.config.tomlrather than environment variable b10b682eda