Skip to content

Commit

Permalink
Auto merge of #7629 - jsgf:vendor-path, r=alexcrichton
Browse files Browse the repository at this point in the history
vendor: don't use canonical path in .cargo/config

Use the user-specified path as-is, so it remains relative if specified as relative.
Should also address Windows path canonicalization issues.

Resolves issue #7316
  • Loading branch information
bors committed Nov 25, 2019
2 parents 79d845b + 4c67a2d commit a41c8ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cargo/ops/vendor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ fn sync(
config.insert(
merged_source_name.to_string(),
VendorSource::Directory {
directory: canonical_destination.to_path_buf(),
directory: opts.destination.to_path_buf(),
},
);

Expand Down

0 comments on commit a41c8ea

Please sign in to comment.