diff options
Diffstat (limited to 'meta/classes-recipe/cargo_common.bbclass')
| -rw-r--r-- | meta/classes-recipe/cargo_common.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/cargo_common.bbclass b/meta/classes-recipe/cargo_common.bbclass index b732a1bd95..bf298e96c7 100644 --- a/meta/classes-recipe/cargo_common.bbclass +++ b/meta/classes-recipe/cargo_common.bbclass | |||
| @@ -161,7 +161,7 @@ python cargo_common_do_patch_paths() { | |||
| 161 | # here is better than letting cargo tell (in case the file is missing) | 161 | # here is better than letting cargo tell (in case the file is missing) |
| 162 | # "Cargo.lock should be modified but --frozen was given" | 162 | # "Cargo.lock should be modified but --frozen was given" |
| 163 | 163 | ||
| 164 | manifest_path = d.getVar("MANIFEST_PATH", True) | 164 | manifest_path = d.getVar("CARGO_MANIFEST_PATH", True) |
| 165 | lockfile = os.path.join(os.path.dirname(manifest_path), "Cargo.lock") | 165 | lockfile = os.path.join(os.path.dirname(manifest_path), "Cargo.lock") |
| 166 | if not os.path.exists(lockfile): | 166 | if not os.path.exists(lockfile): |
| 167 | bb.fatal(f"{lockfile} file doesn't exist") | 167 | bb.fatal(f"{lockfile} file doesn't exist") |
