> # Find a separator that do not conflict with the directory names.
> SEPERATORS=':[EMAIL PROTECTED]&;'
> NOTOUCH="$DPEP_SOURCEDIR$WORKDIR"
> TMP=`echo "$NOTOUCH" | tr -c -d $SEPERATORS`
> SEPERATOR=`echo "$SEPERATORS" | tr -d "$TMP" | cut -c1`
> 
> LC_ALL=C diff -urNad $DPEP_DIFF_EXCLUDE . "$WORKDIR/$(basename 
> "$DPEP_SOURCEDIR")" |
>   sed -e "/^--- \|^diff /s$SEPERATOR \./$SEPERATOR $(basename 
> "$DPEP_SOURCEDIR")~/$SEPERATOR" \
>       -e "/^+++ \|^diff /s$SEPERATOR $WORKDIR/$SEPERATOR $SEPERATOR" \
>       -e "/^diff /s: $DPEP_DIFF_EXCLUDE::" > "$DIFFHOLDER" || true


IMO, this is too much.
Why do you need a colon in a directory name anyway?


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