Skip to content

Commit ef22ac3

Browse files
committed
Do not error when cleanup fails; fixes #17
1 parent 4776df5 commit ef22ac3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Makevars

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ export CARGO_HOME=$(PWD)/.cargo
1111

1212
$(STATLIB):
1313
PATH="$(HOME)/.cargo/bin:$(PATH)" cargo build --release --manifest-path=myrustlib/Cargo.toml
14-
rm -Rf $(CARGO_HOME)
15-
rm -Rf $(LIBDIR)/build
14+
rm -Rf $(CARGO_HOME) || true
15+
rm -Rf $(LIBDIR)/build || true
1616

1717
clean:
1818
rm -Rf $(SHLIB) $(STATLIB) $(OBJECTS) myrustlib/target

0 commit comments

Comments
 (0)