Hi,

> Problem: In a directory named foo-1:10, dpatch-edit-patch cannot extract
> a new patch but chokes with
> 
>       sed: -e expression #1, char 32: unknown option to `s'
> 
> and only leaves the @DPATCH@ marker in the patch file.
> 
> If the directory is renamed to foo-1.10, everything works fine.

1. Workaround, don't name the directory foo-1:10.  I don't think any
of the Debian tools make such a directory even for packages with
epochs, right?

2. For real fix. hmmm... Do we really want to fix this? Is allowing
   ':' in directory names going to be the right solution?

Basically, we're using the Colon here, as a separator.  If : is going
to be a valid character used in directories, What other character
would be reasonable?

  sed -e "/^--- \|^diff /s: \./: $(basename "$DPEP_SOURCEDIR")~/:" \
      -e "/^+++ \|^diff /s: $WORKDIR/: :" \
      -e "/^diff /s: $DPEP_DIFF_EXCLUDE::" > "$DIFFHOLDER" || true

regards,
        junichi
-- 
[EMAIL PROTECTED],netfort.gr.jp}   Debian Project


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to