]> git.ipfire.org Git - pakfire.git/commitdiff
Don't remove DIR_APP before extracting sources.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 18 Dec 2011 13:01:42 +0000 (14:01 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 18 Dec 2011 22:29:24 +0000 (23:29 +0100)
Can lead to suprising effects when DIR_APP is altered.

macros/build.macro

index aa795db9e2c7c6e888270bb0943a1f8257b9bced..61a42a035504d0ff4699bd051a49037587557e5a 100644 (file)
@@ -1,9 +1,6 @@
 
 
 def MACRO_EXTRACT_TARBALL
-       # Remove old data if existant.
-       rm -rf %{DIR_APP}
-
        for source in %{sources}; do
                %{MACRO_EXTRACT} %{DIR_DL}/${source} || exit 1
        done