diff --git a/xtask/src/main.rs b/xtask/src/main.rs index ca0487c8..75be0ce6 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -66,7 +66,13 @@ fn bundle(target: &str, mut args: Vec) -> Result<()> { eprintln!(); if bundle_vst3 { let vst3_lib_path = Path::new("target").join(vst3_bundle_library_name(target)); - let vst3_bundle_home = vst3_lib_path.parent().unwrap().parent().unwrap(); + let vst3_bundle_home = vst3_lib_path + .parent() + .unwrap() + .parent() + .unwrap() + .parent() + .unwrap(); fs::create_dir_all(vst3_lib_path.parent().unwrap()) .context("Could not create bundle directory")?;