Skip to content

Commit

Permalink
delete sf binaries left after make clean
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasf committed Jan 4, 2024
1 parent 51ff3d3 commit 4ae5641
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 @@ -339,7 +339,9 @@ impl Target {
"$(MAKE) strip"
);

archive.append_path(Path::new(src_dir).join(exe)).unwrap();
let exe_path = Path::new(src_dir).join(exe);
archive.append_path(&exe_path).unwrap();
fs::remove_file(&exe_path).unwrap();

assert!(
Command::new(make)
Expand Down

0 comments on commit 4ae5641

Please sign in to comment.