Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f6e8173c authored by uael's avatar uael Committed by Abel Lucas
Browse files

build: use `pdlc` instead of `pdl`

Bug: 291075867
Test: m root-canal
Change-Id: I00cb33c2fae3e26caf54e132e2788e849c89a1b8
parent 9ca5c0b9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -60,8 +60,8 @@ fn generate_module(in_file: &PathBuf) {

    // Find the pdl tool. Expecting it at CARGO_HOME/bin
    let pdl = match env::var("CARGO_HOME") {
        Ok(dir) => PathBuf::from(dir).join("bin").join("pdl"),
        Err(_) => PathBuf::from("pdl"),
        Ok(dir) => PathBuf::from(dir).join("bin").join("pdlc"),
        Err(_) => PathBuf::from("pdlc"),
    };

    if !Path::new(pdl.as_os_str()).exists() {