]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
When we rebuild a package, we should delete the previous compiled one.
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 5 May 2009 17:56:53 +0000 (19:56 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 5 May 2009 17:56:53 +0000 (19:56 +0200)
lfs/Config

index 8586ee1ec4cd2f9802a96f7d315990df6eb03fc9..0b084615bff03c8d3ff3fedf840d3475a4a90be2 100644 (file)
@@ -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