]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/rust-scopeguard
suricata: Change midstream policy to "pass-flow"
[people/pmueller/ipfire-2.x.git] / lfs / rust-scopeguard
index b1e1f94786f157f16e9db2e0057934cdcdd37bab..0b0f66e46e9d1144b80bdc493e9bfab3c96d620d 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)