This commit is contained in:
@@ -95,7 +95,9 @@ fn find_dsc_file(
|
||||
let dsc_name = format!("{}_{}.dsc", package, version_without_epoch);
|
||||
let dsc_path = PathBuf::from(build_root).join(&dsc_name);
|
||||
|
||||
if !dsc_path.exists() {
|
||||
// Check if the .dsc file exists in current context
|
||||
let ctx = context::current();
|
||||
if !ctx.exists(&dsc_path)? {
|
||||
return Err(format!("Could not find .dsc file at {}", dsc_path.display()).into());
|
||||
}
|
||||
Ok(dsc_path)
|
||||
|
||||
Reference in New Issue
Block a user