Skip to content

Commit

Permalink
Canonical target dir.
Browse files Browse the repository at this point in the history
  • Loading branch information
abizjak committed Oct 26, 2023
1 parent 9565c69 commit 3634014
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cargo-concordium/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cargo-concordium/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cargo-concordium"
version = "3.1.1"
version = "3.1.2"
authors = ["Concordium <[email protected]>"]
edition = "2021"
license-file = "../LICENSE"
Expand Down
6 changes: 5 additions & 1 deletion cargo-concordium/src/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,11 @@ pub fn build_contract(
} = build_in_container(
image,
PackageData {
package_target_dir: metadata.target_directory.as_std_path(),
package_target_dir: metadata
.target_directory
.as_std_path()
.canonicalize()?
.as_path(),
package_root_path: package_root_path.as_path(),
package_version_string: &package_version_string,
},
Expand Down

0 comments on commit 3634014

Please sign in to comment.