quilt-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Quilt-dev] [PATCH] Fix handling of patch files with ':' in their na


From: Bert Wesarg
Subject: Re: [Quilt-dev] [PATCH] Fix handling of patch files with ':' in their name.
Date: Sat, 1 Dec 2012 15:06:58 +0100

On Fri, Nov 30, 2012 at 10:44 PM, Benjamin Poirier <address@hidden> wrote:
> avoids errors like this:
> $ quilt refresh
> sed: -e expression #1, char 21: unknown option to `s'
> Nothing in patch patches/strange:name
> ---
>  quilt/scripts/patchfns.in |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/quilt/scripts/patchfns.in b/quilt/scripts/patchfns.in
> index d0c426e..2c884e0 100644
> --- a/quilt/scripts/patchfns.in
> +++ b/quilt/scripts/patchfns.in
> @@ -650,8 +650,8 @@ files_in_patch()
>         if [ -d "$path" ]
>         then
>                 find "$path" -type f \
> -                              -a ! -path "$path/.timestamp" |
> -               sed -e "s:$path/::"
> +                              -a ! -path "$path/.timestamp" \
> +                              -printf "%P\n"

I can't remember the policy in quilt, but I can't find evidence, that
-printf is in the POSIX standard yet.

Bert

>         fi
>  }
>
> --
> 1.7.7
>
>
> _______________________________________________
> Quilt-dev mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/quilt-dev



reply via email to

[Prev in Thread] Current Thread [Next in Thread]