Skip to content

Commit

Permalink
Unzip shenanigans
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Shadle committed Feb 29, 2024
1 parent e0d7eb9 commit 127ab26
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions proto-gen/gen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,6 @@ fn install_protoc() {
home
});

cargo_root.push("bin");

if !Command::new("unzip")
.arg("-q")
.arg(&temp)
Expand All @@ -150,7 +148,7 @@ fn install_protoc() {
panic!("failed to unzip protoc");
}

cargo_root.push("protoc");
cargo_root.push("bin/protoc");

if !Command::new("chmod")
.arg("+x")
Expand Down

0 comments on commit 127ab26

Please sign in to comment.