]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/rust-paste-0.1.18
collectd.conf: Fix bug12981 - This creates in and out drop hostile data collection
[ipfire-2.x.git] / lfs / rust-paste-0.1.18
index 138d45ec9b0901511ca3fe4c95e608d0c8613ebc..c393b8ebc9719834f971a374d50652d03a9d1ff2 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)