Package: cdbs
Version: 0.4.27-1
Severity: normal
Tags: patch

Hello,

  simple-patchsys.mk has the following:

    clean:: reverse-patches
            rm -f debian/patches/*.log

  However, patches can be in each of the dirs listed in $(DEB_PATCHDIRS), 
  so it is possible that *.log files are left after clean.

  The attached patch fixes this issue.

  Thanks,

-- 
Adeodato Sim�
    EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621
 
Military justice is to justice what military music is to music.
                -- Groucho Marx
--- simple-patchsys.mk~ 2005-02-26 09:03:11.644095772 +0100
+++ simple-patchsys.mk  2005-02-26 09:03:58.718861351 +0100
@@ -64,7 +64,9 @@
 post-patches:: apply-patches
 
 clean:: reverse-patches
-       rm -f debian/patches/*.log
+       for dir in $(DEB_PATCHDIRS) ; do \
+           rm -f $$dir/*.log ; \
+       done
 
 # The patch subsystem 
 apply-patches: pre-build debian/stamp-patched

Reply via email to