From: Michael Tremer Date: Tue, 5 May 2009 17:56:53 +0000 (+0200) Subject: When we rebuild a package, we should delete the previous compiled one. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23f38e678b5f9b5d886bfe99ff5175e8e41884a6;p=ipfire-3.x.git When we rebuild a package, we should delete the previous compiled one. --- diff --git a/lfs/Config b/lfs/Config index 8586ee1ec..0b084615b 100644 --- a/lfs/Config +++ b/lfs/Config @@ -138,6 +138,8 @@ define PREBUILD echo "# Description: $(SHORT_DESC)" echo "######################################################################" echo "# Saving file list..." + # Remove package if exists + rm -f $(DIR_PACKAGES)/$(PKG_PACKAGE) 2>/dev/null if [ ! -f $(DIR_SRC)/lsalr ]; then $(FIND_FILES) > $(DIR_SRC)/lsalr; fi endef else