[Build-common-hackers] Bug#389929: cdbs-edit-patch always fails

Loïc Minier lool at dooz.org
Thu Sep 28 13:01:42 UTC 2006


Package: cdbs
Version: 0.4.46
Severity: normal
Tags: patch

        Hi there,

 I'm writing a wrapper around cdbs-edit-patch, but it always return a
 non-zero exit status.

 This is because the final diff will return != 0 if anyting differs:
    diff -Nur $ORIGDIR $NEWDIR >> $SRCDIR/debian/patches/$PATCHNAME

 Please change that to:
    diff -Nur $ORIGDIR $NEWDIR >> $SRCDIR/debian/patches/$PATCHNAME || true

   Thanks!
-- 
Loïc Minier <lool at dooz.org>




More information about the Build-common-hackers mailing list