quilt-dev
[Top][All Lists]
Advanced

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

Re: [Quilt-dev] [PATCH 2/4] quilt: unset POSIXLY_CORRECT to ensure that


From: Jean Delvare
Subject: Re: [Quilt-dev] [PATCH 2/4] quilt: unset POSIXLY_CORRECT to ensure that patch works non-interactively
Date: Wed, 29 Feb 2012 17:28:17 +0100
User-agent: KMail/1.12.4 (Linux/2.6.32.54-0.3-pae; KDE/4.3.5; i686; ; )

On Friday 24 February 2012 12:27:37 am Raphaël Hertzog wrote:
> POSIXLY_CORRECT=1 breaks quilt because quilt relies on patch working
> non-interactively which is not the case in POSIX mode.
> 
> Bug-Debian: http://bugs.debian.org/462578
> Reported-by: Brian M. Carlson <address@hidden>
> Signed-off-by: Raphaël Hertzog <address@hidden>
> ---
>  Makefile.in  |    1 +
>  bin/quilt.in |    4 ++++
>  2 files changed, 5 insertions(+), 0 deletions(-)
> 
> diff --git a/Makefile.in b/Makefile.in
> index 6912bca..f06c0ee 100644
> --- a/Makefile.in
> +++ b/Makefile.in
> @@ -398,6 +398,7 @@ test/.%.ok : test/%.test
>  endif
>       @LANG=C; LC_ALL=C;                                              \
>       export LANG LC_ALL;                                             \
> +     unset POSIXLY_CORRECT;                                          \
>       $(CHECK_ENV);                                                   \
>       cd $(@D);                                                       \
>       ./run -q $(<F)
> diff --git a/bin/quilt.in b/bin/quilt.in
> index 30df4dc..c7fcf8e 100644
> --- a/bin/quilt.in
> +++ b/bin/quilt.in
> @@ -6,6 +6,10 @@
>  #
>  #  See the COPYING and AUTHORS files for more details.
> 
> +# unset posix strict conformance variable since patch cannot be run
> +# non-interactively when it's set.
> +unset POSIXLY_CORRECT
> +
>  export TEXTDOMAIN=quilt
>  export address@hidden@
> 

Applied, thanks.

-- 
Jean Delvare
Suse L3



reply via email to

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