cdbs-edit-patch fails due to debian/rules whitespace

Bug #62623 reported by Forest Bond on 2006-09-27
Affects Status Importance Assigned to Milestone
cdbs (Ubuntu)
Martin Pitt

Bug Description

With this line in debian/rules:


cdbs-edit-patch inappropriately executes:

diff -Nur snd-8.4/build-tree/ snd-8 snd-8 >> /home/fab/work/debs/snd/build/snd-8.4/debian/patches/newpatch.patch

Naturally, this gives an error:

diff: extra operand `'
diff: Try `diff --help' for more information.

Changes debian/rules line to this fixes the problem:


(note no space before snd-8)

cdbs-edit-patch should account for whitespace in this string, correct? Or perhaps the whitespace shouldn't be there at all? Should make be removing it automatically?


Martin Pitt (pitti) on 2006-09-27
Changed in cdbs:
assignee: nobody → pitti
importance: Undecided → Medium
status: Unconfirmed → In Progress
Martin Pitt (pitti) on 2006-10-02
Changed in cdbs:
status: In Progress → Fix Committed
Martin Pitt (pitti) wrote :

 cdbs (0.4.46ubuntu6) edgy; urgency=low
   * scripts/cdbs-edit-patch: Fix whitespace handling of DEB_TAR_SRCDIR.
     Closes: LP#6262
   * 1/rules/ Remove debian/stamp-patch-*, so that cleaning a
     built source works when using

Changed in cdbs:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers