Skip to content

Commit

Permalink
fix: publish regression
Browse files Browse the repository at this point in the history
  • Loading branch information
LeChatP committed Sep 25, 2024
1 parent d9e4de8 commit a870559
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ fn main() {
if is_install {
panic!("This crate is not meant to be installed with cargo install, please download .deb or .rpm and install it with your package manager.\nSee: https://lechatp.github.io/RootAsRole/faq.html");
}

if !std::path::Path::new("rar-common").exists() {
return;
}
let package_version = package_version("Cargo.toml").expect("Failed to get package version");
let dest_path = std::path::Path::new("rar-common")
.join("src")
Expand Down

0 comments on commit a870559

Please sign in to comment.